Results 1 to 2 of 2

Thread: An Exception

  1. #1
    faraa is offline Member
    Join Date
    Mar 2013
    Posts
    70
    Rep Power
    0

    Default An Exception

    Hi
    Can anyone helps me?
    Why this Exception?

    PHP Code:
    Exception in thread "Thread-5" java.lang.UnsupportedOperationException: getGraphics() not valid for images created with createImage(producer)
    	at sun.awt.image.ToolkitImage.getGraphics(ToolkitImage.java:310)
    Thank you...

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,656
    Rep Power
    5

    Default Re: An Exception

    Because it is not allowed. Unfortunately I do no have the API for the ToolkitImage class so I can't check it. What are you trying to do?

    Regards,
    Jim
    The Java™ Tutorial | SSCCE | Java Naming Conventions
    Poor planning our your part does not constitute an emergency on my part.

Similar Threads

  1. unreported exception java.lang.Exception
    By Marisabel in forum New To Java
    Replies: 6
    Last Post: 05-01-2011, 03:21 AM
  2. Replies: 5
    Last Post: 02-14-2011, 11:39 PM
  3. Replies: 1
    Last Post: 02-06-2011, 05:38 AM
  4. Replies: 4
    Last Post: 10-25-2010, 07:42 PM
  5. Replies: 1
    Last Post: 03-08-2008, 06:41 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
  •