JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Java Essentials
>>
Java Programming
JMenuItem
Hi! Guyz,How can use a JMenuItem to invoke a new window?
[70 byte] By [
Abbeya
] at [2007-11-26 16:04:20]
««
AXIS: WSDL2Java generated javabean is different
»»
How to SG-XTAPDAT72-5F68 internal drive to desktop
# 1
Register an ActionListener with the item.Mike
bellyrippera
at 2007-7-8 22:26:16 >
# 2
Add an Action or ActionListener to the JMenuItem. The Action(Listener)must create a new window when the JMenuItem is selected).kind regards,Jos
JosAHa
at 2007-7-8 22:26:16 >
# 3
1. on your menu item you add an ActionListener2. in the ActionListener you can do what you want like creating a new frame or window or internalframe
ProZa
at 2007-7-8 22:26:16 >
Java Essentials
Writing contents of String array to a text file
How to run compiled java code !!!
Problem with accessing components in a static class .......
Bounding textField to Numeric or Alphabetic data.....
How to create Method Detail in javadoc
Updates
method in a runnable class can't access printerwriter in run
moving an image
Constructors and accessor help plz
Programming teacher asked ambiguous question.
Java Programming
Serialization problem while sending through socket ?
Java Service Wrapper.
How to view source of java libraries?
How to open an existing html file in java
form letter
How to kill session
Auto detection
login to multiple web applications
source code protection
Properties file unload
Java Essentials New Topic
How to run compiled java code !!!
Java Service Wrapper.
How to view source of java libraries?
How to open an existing html file in java
form letter
Problem with accessing components in a static class .......
Bounding textField to Numeric or Alphabetic data.....
login to multiple web applications
Java Essentials Hot Topic
Serialization problem while sending through socket ?
Writing contents of String array to a text file
How to kill session
Auto detection
source code protection
How to position a new frame
How to create Method Detail in javadoc
Method calls Vs local variables
Java Essentials
Java Programming
New To Java
Training
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding