JscrollPane(To support methods jdk1.3 --->jdk 1.2.2)
posted 15 years ago
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 .....