aspose file tools*
The moose likes Applets and the fly likes Tabbed panes in 1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Tabbed panes in 1.1" Watch "Tabbed panes in 1.1" New topic
Author

Tabbed panes in 1.1

Charlie Boss
Ranch Hand

Joined: May 22, 2001
Posts: 44
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..


Java Rawks
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
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

Joined: May 29, 2000
Posts: 65
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tabbed panes in 1.1