It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes create a jtable which can combine and split and the image change also Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "create a jtable which can combine and split and the image change also" Watch "create a jtable which can combine and split and the image change also" New topic
Author

create a jtable which can combine and split and the image change also

michelle yu
Greenhorn

Joined: Sep 13, 2012
Posts: 2
hi
newbie here and would like to know how to create a jtable with default images and with specific column and rows that if you combine
the cells the image enlarge and when split the image decreases.

thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38765
    
  23
Welcome to the Ranch

Have you read the documentation for JTable? In it you should find a Java Tutorials link. Start there.
I shall move this discussion to our GUIs forum.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
I won't bother posting a link to a working program, in case it's already been posted in one of the numerous cross-posts
michelle yu
Greenhorn

Joined: Sep 13, 2012
Posts: 2
Campbell Ritchie wrote:Welcome to the Ranch

Have you read the documentation for JTable? In it you should find a Java Tutorials link. Start there.
I shall move this discussion to our GUIs forum.


i have read the documentation and my code is attached



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create a jtable which can combine and split and the image change also