Package layout problems trying to make a new Swing component.
The basic background info:
I copied the JSlider code from the OpenJDK repo (note that I am using the Sun packages, because this is a windows machine), and created a new component, and UI L&F class for it. I set its package to javax.swing, and the L&F classes to be in the same respective packages. Eclipse does not complain, and the program will run, but when I try to build and show the frame I get the following message:
tried to access class javax.swing.plaf.basic.LazyActionMap from class javax.swing.plaf.basic.BasicRangeSliderUI
I also tried adding the LazyActionMap file to my project, but no change.
I should note that I do not have the OpenJDK source in this project, I just have the sun libraries linked in (and working fine), and I am specifying my files to be in that same package... I am not sure if this is the right way to do that.
Thanks for any help.
P.S. You can see the code I copied here: jdk6/jdk6/jdk: Manifest
I used JSlider, plaf/SliderUI.java, plaf/Basic/BasicSliderUI.java as my base.