Forgive me on the title...here is the problem... 1. I need a clarification on what is the logic behind making calls like JOptionPane.showMessageDialog(); Integer.parseInt(); We do not create objects for these variables and we call the methods of the classes directly...how this is possible...are they any special kind of classes???
2. I have not seen this kind of coding in any other language,,,can anyone explain me how this coding construct works???
And regarding your second question, you should read about "anonymous inner classes".
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
to elaborate on 1: The static method creates its own frame, from which it gets input, and then returns that input. You never talk directly to the frame object [ December 30, 2005: Message edited by: Nick George ]
I've heard it takes forever to grow a woman from the ground