Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » My JOptionPane.showOptionDialog isnt working
My JOptionPane.showOptionDialog isnt working [message #447063] Wed, 08 December 2004 05:19 Go to next message
Eclipse UserFriend
Originally posted by: our_snaps.sify.com

hi all,
Why isnt my Swing JOptionPane.showOptionDialog working when run by the
selection of an eclipse pulldown menuitem ; where the pulldown menu is
constructed using SWT ???
Do i need to implementt any Listeners???????
plz help

/******************************/
String option[] = {"Find","Close"};
JPanel p = new JPanel();
JOptionPane.showOptionDialog(this, p, "Go to Event",
JOptionPane.OK_CANCEL_OPTION, JOptionPane.INFORMATION_MESSAGE, null,
option, option[0]) == 0
Re: My JOptionPane.showOptionDialog isnt working [message #447114 is a reply to message #447063] Wed, 08 December 2004 19:33 Go to previous message
Eclipse UserFriend
Originally posted by: kelly_stevens81.yahoo.com

Um you would probably be best to take that question to the newbie forums
at sun.java.com as it has nothing to do with swt. They seem to be a bit
touchy about that here.
Previous Topic:project description
Next Topic:How to show a popup menu at cursor location, with no "parent"
Goto Forum:
  


Current Time: Wed Oct 21 11:26:12 GMT 2020

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

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

Back to the top