Java - SimpleFrame

I compiled files "" and "", but when I run, appear a blank screen and the messages:

Info: Load NativePaint lib...
Info: Loading NativePaint lib done
java.lang.UnsatisfiedLinkError: paint
at SimpleViewer.paint(Native Method)
at sun.awt.RepaintArea.paint(Unknown Source)
at Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Source)

Could anybody help me? What is wrong?
Do I need use "public native void paint(Graphics g);" function? Is there another way to show OpenCascade Viewer at screen?


PG's picture


Have u been able to create a SWING frame with panel to show the
OCC viewer ?

- gpr