Phidget 1072 error using GUI

Supporting Java SE version 7 and up
ahs1blazer

Phidget 1072 error using GUI

Postby ahs1blazer » Thu Oct 06, 2011 3:22 pm

I have a Phidget 1072 and a motor controller (1064). I created a project and put the java files which has JFrame in there. It gave me a java.awt.HeadlessException error. How do I fix it?

Thank you!

User avatar
Patrick
Lead Developer
Posts: 3165
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Phidget 1072 error using GUI

Postby Patrick » Thu Oct 06, 2011 4:17 pm

Probably you've compiled in something GUI-related. The SBC2 has the headless version of the Java libraries installed - because there is no display.

-Patrick

ahs1blazer

Re: Phidget 1072 error using GUI

Postby ahs1blazer » Thu Oct 06, 2011 4:22 pm

My program has JFrame and needs Swing in there. Do I need to add some jar files or do I put my program on the webservice like the examples?


Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest