-
resizing a table or scrollpane in java swing
Currently I am working on a program which contains a table composed of 14
columns; and in order to read the column headers I had to make it using the
JScrollPane class. However, when using this class, it creates a default table
size, but since I have 14 columns, all of the column headers are bunched
up and only the first couple letters in each column can be read. I'm wondering
how to make my table wider, but I can't find the API that tells me how to
do so. I've looked under JTable and JScrollPane and no luck so far. Please
Help!
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks