Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » invokelater in swing main()
invokelater in swing main() [message #119946] Sat, 26 November 2005 22: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: Tue Oct 08 15:24:52 GMT 2024

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

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

Back to the top