*
The moose likes Swing / AWT / SWT and the fly likes SWT - File pulldown menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT - File pulldown menu" Watch "SWT - File pulldown menu" New topic
Author

SWT - File pulldown menu

Alan Smithee
Greenhorn

Joined: Mar 21, 2006
Posts: 23
I'm using Eclipse with SWT Designer (nifty tool).

What I'm trying to do is find a pull down menu on the pallate and there doesn't seem to be one. Bascially I'm trying to emulate the standard file selection behavior in WinXP. As an example: when you go into MSPaint, select Open from the File menu, and you get that pop-up. That's 80% of what I want to do. This can't be the first time such a thing has been coded, but I seem to be googling on the wrong terms.

Any suggestions?
Ben Zung
Ranch Hand

Joined: Mar 25, 2004
Posts: 109
How about "JFileChooser"?

Good luck.
Alan Smithee
Greenhorn

Joined: Mar 21, 2006
Posts: 23
Is there an SWT version of that?
Ben Zung
Ranch Hand

Joined: Mar 25, 2004
Posts: 109
Check out SwingWT(Swing and awt). It has something similar to it.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: SWT - File pulldown menu