• Post Reply Bookmark Topic Watch Topic
  • New Topic

Popup whith JTextArea

 
Robert , doodle
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved my problemmm....
i forgot to add my popup to the TextArea
like textArea.add(popup)
and next popup.show(textArea x, y)
Robert
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!