Nick Meverden

Ranch Hand
+ Follow
since Jul 03, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Nick Meverden

18 years ago
javax.swing.text.JTextComponent.setCaretColor(java.awt.Color color)
[ August 14, 2006: Message edited by: Nick Meverden ]
18 years ago
java.io.FileReader
java.io.FileWriter

read up on those two API's for starters to read/write files.

You can build a StringBuilder or StringBuffer to setText() of the javax.swing.JTextArea

Those are some ideas to get you started...
18 years ago
I would suggest checking out javax.swing.JSplitPane with two javax.swing.JPanels.
[ July 21, 2006: Message edited by: Nick Meverden ]
18 years ago
new java.awt.GridLayout(4,1)
18 years ago
Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned children. That is, the resources for these Components will be destroyed, any memory they consume will be returned to the OS, and they will be marked as undisplayable.

The Window and its subcomponents can be made displayable again by rebuilding the native resources with a subsequent call to pack or show. The states of the recreated Window and its subcomponents will be identical to the states of these objects at the point where the Window was disposed (not accounting for additional modifications between those actions).
18 years ago
if you want to hide the JFrame use setVisible(false) if you want to remove the JFrame and release its resources use dispose()
18 years ago
18 years ago
check out javax.swing.JMenu.addMenuListener()

and

javax.swing.event.MenuListener/MenuEvent API's
18 years ago
No an ActionListener isn't going to do anything for JMenu. It would be more helpful if you tell us what your are trying to do. You want to show a dialog message when JMenu is clicked?
18 years ago