Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic