• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
michelle yu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic