G4P Library Not Recognized?
in
Contributed Library Questions
•
1 year ago
I have just finished installing both the G4P Tool and Library, and both are visible from Processing, though the tool is unable to load. The 'GUI Builder error' states:
The only G4P library I could find was the one titled: 'guicomponents', which as I said I can insert into a sketch from the drop down options. I have tried this in both 1.5.1 and 2, no luck in either. Is anyone familiar with this issue, or do you possibly know what is wrong?
Although you can use this tool the sketch created will not work because the G4P library needs to be installed. See G4P at http://www.lagers.org.uk/g4p/
The only G4P library I could find was the one titled: 'guicomponents', which as I said I can insert into a sketch from the drop down options. I have tried this in both 1.5.1 and 2, no luck in either. Is anyone familiar with this issue, or do you possibly know what is wrong?
If it helps, this is the Java error in the compiler:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:167) at g4p.tool.gui.GuiDesigner.initComponents(Unknown Source) at g4p.tool.gui.GuiDesigner.<init>(Unknown Source) at g4p.tool.G4PTool.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:603) at java.awt.EventQueue$1.run(EventQueue.java:601) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
1