This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Popup whith JTextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Popup whith JTextArea" Watch "Popup whith JTextArea" New topic
Author

Popup whith JTextArea

Robert , doodle
Greenhorn

Joined: May 25, 2001
Posts: 8
Hi there,
i want to add a popup menu to a JTextarea
but i get the error parent is null;
at te statement popup.show(textarea, x, y);
could someone tell me why my parent is Null
or isn't it possible to add a popup to a JTextArea???

thanks al lot
robert
Robert , doodle
Greenhorn

Joined: May 25, 2001
Posts: 8
Solved my problemmm....
i forgot to add my popup to the TextArea
like textArea.add(popup)
and next popup.show(textArea x, y)
Robert
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Popup whith JTextArea
 
Similar Threads
Refresh parent window without closing popup with struts validation
JRadioButtons in applet
Multi Form Validation
About PopupMenus...
Drag and Drop