I would like to use one particular new class from Mustang in my
project: JTabbedPane. The latest version allows custom components to be
used on the tabs themselves.
where Bill Joy suggests using the Import Class Wizard to achieve what I
want. Using this wizard, I was able to compile my code that uses the
JTabbedPane.setComponentAt() method (a new method in Mustang) without
errors. In my output directory, the JTabbedPane.class and its inner
classes show up in /javax/swing as expected.
However, at runtime, Java seems to be using the original 1.5 version of
JTabbedPane:
java.lang.NoSuchMethodError:
javax.swing.JTabbedPane.setTabComponentAt(ILjava/awt/Component;)V
In JBuilder, how can I configure Java to use the newly compiled version
of the class at runtime?
Thank you,
Bruce Sutherland.