Results 1 to 4 of 4
  1. #1
    adityadham is offline Member
    Join Date
    Oct 2010
    Posts
    2
    Rep Power
    0

    Default Error in running swing based sample application.

    Hello Everyone,
    I have downloaded the package for openjdk-6 and installed on my computer( linux ubuntu). Non GUI programs are running fine. But when I try the programs which have Swing GUI. I get the following error.
    Exception in thread "main" java.lang.InternalError: No RenderingEngine module found

    at sun.java2d.pipe.RenderingEngine.getInstance(Render ingEngine.java:138)

    at sun.java2d.pipe.LoopPipe.<clinit>(LoopPipe.java:51 )

    at sun.java2d.SurfaceData.<clinit>(SurfaceData.java:3 99)

    at sun.awt.X11GraphicsConfig.<clinit>(X11GraphicsConf ig.java:79)

    at sun.awt.X11GraphicsDevice.makeDefaultConfiguration (X11GraphicsDevice.java:244)

    at sun.awt.X11GraphicsDevice.getDefaultConfiguration( X11GraphicsDevice.java:214)

    at java.awt.Window.init(Window.java:385)

    at java.awt.Window.<init>(Window.java:438)

    at java.awt.Frame.<init>(Frame.java:419)

    at javax.swing.JFrame.<init>(JFrame.java:224)

    at Frame1.<init>(Frame1.java:12)

    at Frame1.main(Frame1.java:27)


    Please can someone point me in the right direction. This is really urgent. Thanks in advance.
    Regards,
    Aditya

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 3
    Last Post: 04-05-2010, 11:02 PM
  2. Try my Java Swing sample - Pinger app.
    By Schastny in forum New To Java
    Replies: 0
    Last Post: 02-18-2010, 10:12 AM
  3. HTTP 404 Error while running Servlet Application
    By shuklajayb in forum Java Servlet
    Replies: 3
    Last Post: 06-24-2009, 05:19 PM
  4. Running a third-party-library based application in j2me
    By nishantsuneja in forum CDC and Personal Profile
    Replies: 0
    Last Post: 02-08-2009, 09:39 PM
  5. Error trace in swing application
    By dnyan123 in forum AWT / Swing
    Replies: 15
    Last Post: 10-21-2008, 02:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •