I am confused about this syntax:
ImageTests ttpanel=new ImageTests();
// create a JFrame to hold the test JPanel
JFrame app = new JFrame("Image Tests");
app.getContentPane().add(ttpanel, BorderLayout.CENTER);
ImageTests is another class whose constructor creates a JPanel. Therefore, does an object always references its constructors when it is not ordered to reference some other method? In short, does an unreferenced object automatically references the constructors? I have never seen this kind of syntax before.