Results 1 to 4 of 4
Thread: need code explanation
- 03-04-2010, 05:48 PM #1
Member
- Join Date
- Mar 2010
- Posts
- 7
- Rep Power
- 0
- 03-04-2010, 05:50 PM #2
Member
- Join Date
- Mar 2010
- Posts
- 7
- Rep Power
- 0
need to know specially the second statement
- 03-04-2010, 09:27 PM #3
Member
- Join Date
- Oct 2009
- Posts
- 26
- Rep Power
- 0
The main creates a new Runnable, which allows for a Run() that will invoke on the start-up of the application. The new Domotics().setVisible(true); creates a new instance of Domotics, which I assume extends a Frame, Panel, Form, etc. and makes the application/applet visible.
Hope that helps!
~Jamie
- 03-05-2010, 12:41 AM #4
Senior Member
- Join Date
- Dec 2009
- Location
- Belgrade, Serbia
- Posts
- 364
- Rep Power
- 4
I guess that code was automatically created for you
after you have created some frame...
You have to understand java thread mechanism behind this in AWT and Swing.
Here is link to give you an idea:
Java AWT/Swing event queue
Similar Threads
-
explanation of this loop?
By glopez09 in forum New To JavaReplies: 4Last Post: 11-15-2009, 02:36 AM -
Quick Sort explanation.
By hawaiifiver in forum New To JavaReplies: 4Last Post: 03-10-2009, 02:28 AM -
Class explanation
By mcal in forum New To JavaReplies: 1Last Post: 02-05-2008, 06:50 PM -
need a little explanation
By cew27 in forum New To JavaReplies: 7Last Post: 12-13-2007, 11:39 PM -
I need didactic explanation
By Eric in forum New To JavaReplies: 2Last Post: 07-02-2007, 05:37 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks