Please tell me how/where is it explained on using Java Tables? I know about JTables, but the problem with that is that I can't seem to get rid of the onClick MouseEvent on that... I need a static table basically with 2 columns and 1 row. ~ Thanks!

Recommended Answers

All 3 Replies

Why do you need to "get rid of" the mouse click event? Do you mean that you do not want to allow editing or selection of certain parts?

If you only need 2 cells, why not just use two text fields? You need to give a little more info about what you're trying to achieve if you want specific suggestions.

I want to place two different images, 1 image in each table column.

Read the API of JTable and visit tutorial

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.