• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Popup whith JTextArea

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic