I am getting following excpetion
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/divxdede/text/TimeFormat
at org.divxdede.swing.busy.ui.BasicBusyLayerUI.<init>(BasicBusyLayerUI.java:102)
at org.divxdede.swing.busy.ui.BasicBusyLayerUI.<init>(BasicBusyLayerUI.java:138)
at org.divxdede.swing.busy.JBusyComponent.<init>(JBusyComponent.java:105)
at jewelleryerpapplication.GUI.Gold.IssueToRep1.<init>(IssueToRep1.java:136)
at jewelleryerpapplication.GUI.Gold.IssueToRep1.Instance(IssueToRep1.java:164)
I added following Libraries to my project
- jbusycomponent-1.2.2.jar
- SwingX 1.6
- JXLayer 3.0.4
- Jarvis-Commons 0.1
When I added the JXBusyLayer Component to my JFrame (while wrapping existing JTable Component with JXBusyLayer Component) using the code below
JBusyComponent<JTable> busytblDetailInfo = new JBusyComponent<JTable>(tblDetailInfo);
myJFrame.add(busytblDetailInfo);
using the Link!
Edit
Added the library Commons-0.2 and the exception disappears.
Error 2 !
Now No Data is seen on the control(JTable) which is wrapped by JBusyControl.
Edit 2
Added the code below(by comment of @MadProgrammer) but the problem reamins no data to be viewed.
jFrame.remove(tblDetailInfo);
DefaultTableModel dtm = new DefaultTableModel(data, header);
tblDetailInfo.setModel(dtm);
JBusyComponent<JTable> busytblDetailInfo = new JBusyComponent<JTable>(tblDetailInfo_OrderInfo);
jFrame.add(busytblDetailInfo);
I found that it doesn’t like being wrapped in a
JScrollPanewhich is weird in my opinion 😛(I lie,
BusyComponent“likes” being added to aJScrollPane; but you probably don’t want to)