• 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!