This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Don't get me started about those stupid light bulbs.
 
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