This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tabbed panes in 1.1

 
Charlie Boss
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello is it possible to emulate the swing JTabbedPane class in jdk1.1??
I have to change my java2 program which uses swing to jdk1.1 since most browsers dont support jdk1.2..
normally this would not be an issue but on WindowsNT/2000 when a user doesn't have administrative priviledges then they cant download the latest plugin..
help please..
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Charlie,
I think you could do a good job with buttons and a cardlayout. It won't look the same but it will work the same.
Regards,
Manfred.
 
Khurram Fakhar
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi charlie ,
I m stuck with same problem as well in one project.
I haven't tried it but i think it will gonna work and we can show almost the same GUI in jdk1.1.
For that just put divide a panel in 4 different panels and draw images on them. (Images should be of TAB-OFF format). listen to the click event.
On click just call the paint for all panels and replace the image with the TAB-ON image.
I hope u will get this.
There is something too in java Imaging as well .. for this.
do check it as well ..
Regards
Khurram Fakhar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic