File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Menu Events Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Menu Events" Watch "Menu Events" New topic

Menu Events

Balu Ramachandran

Joined: Oct 16, 2000
Posts: 16
hi friends,
i have doubt on how to give a events to the menu driven applications.
in File MenuBar haveing New,Open,Save,SaveAs,Exit Menus.
suppose i want to save my typed informations which is available in a textarea .
hear how i can get that Save DialogBox and how to get a file name which is typed in the textfield.
After that what i want to do.(i think create a file using File class. using IO operation writie a informations
which is available in a textarea to File.)
How to Do This ???
can anybody please help me,
Balu Ramachandran

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
while most AWT tutorials are not online (avail as downloads
only), this tutorial from sun may give you some insight.

- satya

[This message has been edited by Madhav Lakkapragada (edited March 28, 2001).]

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: Menu Events
It's not a secret anymore!