hi
i want to display column in jtable but the columns enter each other and reduce the size of the columns so how i can when i display larger number of columns apper with each column has itis own space

Recommended Answers

Set the column width to be wide enough, then place the whole table in a JScrollPane so it scrolls horizontally. See this:
http://stackoverflow.com/questions/2452694/jtable-horizontal-scrollbar-in-java

Jump to Post

All 2 Replies

Be a part of the DaniWeb community

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