• Post Reply Bookmark Topic Watch Topic
  • New Topic

jtable and jpopupmenu  RSS feed

 
Steffen Durale
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,
i have a jtable which is full of entries... now i want to make a jpopupmenu if you are pressing the right mouse button on an entry field.
the jpopupmenu works already but only if you press the right mouse button in the frame. if i press the right mouse button on an jtable field nothing happens...
any ideas?
thanx in advance
Steffen
 
Steffen Durale
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it on my own....
just add the mouselistener to the table and it works....
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!