File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTable an popup menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable an popup menu" Watch "JTable an popup menu" New topic

JTable an popup menu

Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

Dear All!

I have a jTable and popup menu. I am calling popup menu inside jTable.

Wht i want:

Let if i am at column no 5 then my popup menu must appear from that particular cell, column and row. whereas right now popup menu is showing on same row but at the start of screen.

I have tried a lot to do it but all in vain.

Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

Oh, I got the solution.

Thankx anyway!

It is sorta covered in the JavaRanch Style Guide.
subject: JTable an popup menu
It's not a secret anymore!