File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JscrollPane(To support methods jdk1.3 --->jdk 1.2.2)
 
Similar Threads
hi friends Please help me........
Problem with JscrollPane
Friends please help me ...........
Mr. Carver -- My Previous Question With Error Messages Attached
WebSphere3.5 and jdk1.3