I was watching Bucky's tutorials, and he had imported JFrame, JOptionPane and JButton (among others) and he extended JFrame and created a JButton object, but he did neither with JOptionPane.
Without creating an object or extended/implementing the class, he writes the code: "JOptionPane.showMessageDialog(null, "I don't remember what he typed here.");" How and why does he do this?
When do you not create a class object?
Post a Reply
|Oldest Newest Rating|
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|