I have an applet, and when I try to run it on my laptop, a headless exception gives Java in the line where the JFrame is created. Now I know why JFrame usually throws an exception, but my computer was not in headless mode. I'm also still not sure what exactly the headless mode entails.
I am running Ubuntu and have a fairly recent version of java.
Also, I have successfully created JFrames, etc. in Eclipse when working with Windows on my laptop (if that helps).
source share