Skip to main content



      Home
Home » Newcomers » Newcomers » invokelater in swing main()
invokelater in swing main() [message #119946] Sat, 26 November 2005 17:28
Eclipse UserFriend
Originally posted by: milnfalcon4163.yahoo.com

how can I get eclipse to include the javax.swingUtilites.invokeLater() in
the main method when i create a new swing ve project or when is eclipse
going to incorporate this swing convention in the new proect or item
wizard?

e. g.,

public static void main(String[] args) {
javax.swingUtilies.invokeLater(new Runnable() {
public void run() {
JFrame app = new JFrame();
app.setVisible(true);
}
});
}
Previous Topic:Can NOT Create EJB Project
Next Topic:Eclipse failing to run
Goto Forum:
  


Current Time: Sun Apr 27 02:14:35 EDT 2025

Powered by FUDForum. Page generated in 0.03910 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top