aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JscrollPane(To support methods  jdk1.3  --->jdk 1.2.2) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic
Author

JscrollPane(To support methods jdk1.3 --->jdk 1.2.2)

Ravi Mandalapu
Ranch Hand

Joined: Nov 01, 2000
Posts: 34
Hi,
My application must support jdk1.2.2 and jdk1.3 versions of java. When i run the application in jdk1.2.2 no problem, when i run the same application in jdk1.3 it's running, the problem is:
Jscrollpane is giving problem.
I added two tabbed panes to JscrollPane, one is on top and another is on bottom.
In jdk1.2.2 the Jscrollpane is perfectly displaying the tabbedPanes, but in jdk1.3 it is displaying differently.
To fix that i used spilitPane.setResizeWeight(Double Val);
Now it is running in jdk1.3, but not in Jdk1.2.2 It is giving error :
Java.lang.NoSuchMethodError:Javax.swing.JSplitPane:method setResizeWeight(D)V not found.
What i have to plug-in with jdk1.2.2 to run this method(setResizeWeight(Double val)).
Help anybody .........
If anybody knows this,please help me .....

Thanks in advance....
Ravi
 
 
subject: JscrollPane(To support methods jdk1.3 --->jdk 1.2.2)