Loading images inside the package structure

i am having trouble loading images that are imbedded into the package structure. I am assuming this is possible(99.9% sure)
the classes are
cardgameframework/CardGame.class
cardgameframework/cardsupport/Card.class
cardgameframework/cardsupport/images/2D.GIF
cardgameframework/cardsupport/images/2C.GIF
how do i load 2D.gif and 2C.gif from CardGame
i tried
Image i = Toolkit.getDefaultToolkit.getImage(
"/cardgameframe/cardsupport/images/2C.GIF");
and
Image i = Toolkit.getDefaultToolkit.getImage(getClass().getResource(
"/cardgameframe/cardsupport/images/2C.GIF"));
but neither of these seem 2 work
any help would be appreciated

My initial thought is that you've got the package wrong in your two examples - you've got cardgameframe and not cardgameframework.
Anyway, I tend to use the latter of your approaches - getClass().getResource("/cardgameframework/cardsupport/images/2D.GIF").
Be careful of case in your URLs.
Note that if getResource can't find your file it will return null - ensure that you're getting back a non-null URL:
URL url = getClass().getResource("/cardgameframework/cardsupport/images/2D.GIF");
System.out.println("URL: " + url);
...If your URL is non-null then the problem will be with the format of your image file (if it is null then you'll get a NullPointerException eventually).
Hope this helps.

Similar Messages

  • Loading images inside applet JAR

    Hi
    This is my issue: I have an applet which contains images inside the applet JAR. I want to display these images in my applet, but apparently due to browser access restrictions, I'm not allowed.
    My first code was like this:
    //security restrictions on browsers do not allow getResource
    ImageIO.read(MyClass.class.getResource("imgs/img.png"));
    //getResourceAsStream should be allowed by browsers
    ImageIO.read(MyClass.class.getResourceAsStream("imgs/img.png"));Both lines work when I execute the applet locally (command line / programming IDE), but when I deploy it to my web server, the resource "imgs/img.png" becomes a relative URL to my web application context (like /webcontext/MyClass/imgs/img.png). It works locally because the call to getResource returns a URL object with "file:" protocol, but I need it to look for my images bundled inside the JAR, not web hosted images.
    I need to avoid making the applet look for these images as a web resource... how can I do it?
    Thanks!

    dev@java wrote:
    warnerja wrote:
    I'm not convinced the code you posted wouldn't work, but since this is an applet, you have access to the Applet class. Check out the Applet.getImage method in conjunction with Applet.getCodeBase.
    [http://java.sun.com/javase/6/docs/api/java/applet/Applet.html]
    getCodeBase returns my web context, like http://myhost.com/mycontext/ , so it is pretty much the same as above.
    Thanks for your replyThat is the way to load resources though. Hence back to my earlier statement about not being convinced it would not work, with this addition: It should work, assuming you actually do have the resources properly located with the web app, whether they be in a jar, or loose files relative to where the web app is. My guess at this point is that they are not.

  • How do I position a Loader image inside a Sprite?

    In AS3 / CS4 I'm trying to programmatically create a bunch of rectangular objects, let's call them 'cards', that will contain an image and a colored background and eventually some other elements like text.  I want to create alot of these cards and move them around inside of a larger panel (also a Sprite) of sorts.  I can successfully create colored rectangles in my cards and place the cards where I want in the panel, but whenever I try to add an image to a card, I can't seem to position the image inside the card's coordinate space, it ends up being placed inside the larger panel's coordinate space instead, even though I'm adding the image/loader as a child of the card.  I thought maybe it had something to do with having to wait until the image loading was complete, so I added the listener as a test but that didn't work.  Here's the code:
                var cont:Sprite = new Sprite();  containing 'card'
                var rect:Sprite = new Sprite();  // draw a colored rectangle in the card
                var loader:Loader = new Loader();
                loader.contentLoaderInfo.addEventListener(Event.COMPLETE, positionLoader);
                rect.graphics.beginFill(0xbb3399);
                rect.graphics.drawRect(60,60,99,99);  // this works as expected
                rect.graphics.endFill();
                cont.addChild(rect);
                addChild(cont);
                var req:URLRequest = new URLRequest("top.png");
                loader.load(req);
                function positionLoader(e:Event):void {
                    loader.x = 30;  // position the image inside the containing card
                    loader.y = 30;
                    cont.addChild(loader);  // add the image to the card

    I solved this problem.

  • Display invalid pattern name while calling the procedure inside the package

    Hi ,
    I'am trying to call a package which is having procedure ,from JDBC in which one of the return type is Varray from the procedure.When i'am calling the procedure inside the package
    from java showing invalid name pattern name.Just i'am placing the code snippet for package and calling java through package.
    Package body
    create or replace package body Rewards_Summary_Package as
    PROCEDURE Rewards_Summary_Procedure
    (v_Tot_Earned_Points OUT NUMBER, v_TOT_REDEEMED OUT NUMBER, v_TOT_PTS_EXP OUT NUMBER,
    v_TOT_AVAILABLE OUT NUMBER, v_TIER_NAME OUT VARCHAR2,VA OUT t_varray,V_PR_CON_ID IN VARCHAR2) AS
    v_ACCRUALED_VAL NUMBER := 0;
    v_USED_VAL NUMBER := 0;
    /*v_TOT_ACCRUALED_VAL NUMBER := 0;
    v_TOT_USED_VAL NUMBER := 0;
    V_PR_TIER_ID VARCHAR2(30);
    V_PR_CON_ID VARCHAR2(30);
    V_EXPIRY_DT DATE;
    v_month varchar2(30);
    v_date date;
    v_next_month_date date;
    v_TIER_NAME VARCHAR2(50);
    v_TOT_AVAILABLE NUMBER := 0;
    v_EARNED NUMBER := 0;
    v_TOT_EARNED NUMBER := 0;
    v_TOT_REDEEMED NUMBER := 0;
    v_TOT_EXPIRED NUMBER := 0;
    v_EARNED_TOTAL NUMBER := 0;
    v_TOT_EXPIRED_MONTH NUMBER := 0;
    v_TOT_PTS_EXP NUMBER := 0;
    v_TOT_RDMD_CANCELLED NUMBER :=0;
    v_TOT_EARNED_POINTS NUMBER :=0;*/
    v_FIRST_DT DATE;
    v_LAST_DT DATE;
    v_MEMBER_ID VARCHAR2(30);
    V_EXPIRED_VAL Number;
    v_TOT_PRDPTS_RDMD NUMBER := 0;
    v_TOT_PTS_RDMD NUMBER := 0;
    v_CAN_ACCRUAL_POINTS NUMBER := 0;
    BEGIN
    /*TotalRwdPoints and Tier Name*/
    SELECT TR.NAME,MEM.POINT_TYPE_A_VAL,MEM.ROW_ID INTO v_TIER_NAME,v_TOT_AVAILABLE,v_MEMBER_ID
    FROM SIEBEL.S_LOY_MEMBER MEM, SIEBEL.S_LOY_TIER TR WHERE MEM.PR_DOM_TIER_ID=TR.ROW_ID
    AND MEM.PR_CON_ID=V_PR_CON_ID;
    vTotPrdPtsRdmd
    SELECT NVL(SUM(A.VALUE),0) INTO v_TOT_PRDPTS_RDMD from SIEBEL.S_LOY_RDM_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND A.TYPE_CD='Product'
    AND A.TXN_ID IS NOT NULL;
    vTotPtsRdmd
    SELECT NVL(SUM(A.VALUE),0) INTO v_TOT_PTS_RDMD from SIEBEL.S_LOY_RDM_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND (A.TYPE_CD='Product' or A.TYPE_CD='Transfer')
    AND A.TXN_ID IS NOT NULL;
    vTotRewardPtExp
    SELECT NVL(SUM(A.VALUE),0) INTO v_TOT_PTS_EXP FROM SIEBEL.S_LOY_RDM_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND A.TYPE_CD='Expired'
    AND a.TXN_ID IS NULL;
    vCanAccrualPoints
    SELECT NVL(SUM(A.ACCRUALED_VALUE),0) INTO v_CAN_ACCRUAL_POINTS from SIEBEL.S_LOY_ACRL_ITM A,SIEBEL.S_LOY_ATTRDEFN B
    WHERE A.MEMBER_ID = v_MEMBER_ID AND A.ATTRIB_DEFN_ID = B.ROW_ID AND b.INTERNAL_NAME = 'Point 1 Value' AND A.TYPE_CD='Cancellation';
    v_Tot_Earned_Points := v_TOT_AVAILABLE+v_TOT_PRDPTS_RDMD+v_TOT_PTS_EXP-v_CAN_ACCRUAL_POINTS;
    v_TOT_REDEEMED := v_TOT_PTS_RDMD-v_CAN_ACCRUAL_POINTS;
    DBMS_OUTPUT.PUT_LINE(' Total Earned: '|| v_Tot_Earned_Points || ' Total Redeemed: '|| v_TOT_REDEEMED || ' Total Expired: '|| v_TOT_PTS_EXP
    || ' Balance Points: '|| v_TOT_AVAILABLE || ' Tier Name: '|| v_TIER_NAME);
    select trunc(sysdate,'MONTH') INTO v_FIRST_DT from dual;
    va:= t_varray(Null,Null,Null,Null,Null,Null);
    FOR a in 1 .. 6 LOOP
    select trunc(last_day(v_FIRST_DT)) INTO v_LAST_DT from dual;
    SELECT SUM(AI.ACCRUALED_VALUE),SUM(AI.USED_VALUE) INTO v_ACCRUALED_VAL,v_USED_VAL from SIEBEL.S_LOY_ACRL_ITM AI,SIEBEL.S_LOY_ATTRDEFN A
    WHERE AI.MEMBER_ID = v_MEMBER_ID AND A.ROW_ID = AI.ATTRIB_DEFN_ID AND A.INTERNAL_NAME = 'Point 1 Value'
    AND trunc(AI.EXPIRATION_DT) >= v_FIRST_DT AND trunc(AI.EXPIRATION_DT) <= v_LAST_DT;
    V_EXPIRED_VAL := NVL(v_ACCRUALED_VAL-v_USED_VAL,0);
    va(a):=V_EXPIRED_VAL;
    v_FIRST_DT := add_months(v_FIRST_DT,1);
    End loop;
    END;
    end;
    Package declaration
    create or replace package Rewards_Summary_Package as
    TYPE t_varray IS VARRAY(6) OF NUMBER;
    PROCEDURE Rewards_Summary_Procedure
    (v_Tot_Earned_Points OUT NUMBER, v_TOT_REDEEMED OUT NUMBER, v_TOT_PTS_EXP OUT NUMBER,
    v_TOT_AVAILABLE OUT NUMBER, v_TIER_NAME OUT VARCHAR2,VA OUT t_varray,V_PR_CON_ID IN VARCHAR2);
    end;
    java code
    I had tried using java types and Oracle types
    conn=SiebelServiceDatasource.getConnection(SSBConstants.REWARDS_PROP_LOG_SUFIX);
    // ArrayDescriptor.TYPE_VARRAY
    ocstmt=(OracleCallableStatement)conn.prepareCall(" {call REWARDS_SUMMARY_PACKAGE.REWARDS_SUMMARY_PROCEDURE(?,?,?,?,?,?,?)}");
    //ocstmt=(OracleCallableStatement)conn.prepareCall(" call Test_Array(?,?)");
    ocstmt.registerOutParameter(1,OracleTypes.INTEGER);
    ocstmt.registerOutParameter(2,OracleTypes.INTEGER);//1-616BH
    ocstmt.registerOutParameter(3,OracleTypes.INTEGER);
    ocstmt.registerOutParameter(4,OracleTypes.INTEGER);
    ocstmt.registerOutParameter(5,OracleTypes.VARCHAR);
    ocstmt.registerOutParameter(6,OracleTypes.ARRAY,"SIEBEL.T_VARRAY");
    ocstmt.setString(7,contactSiebelRowId);
    ocstmt.execute();
    Showing the following invalid name pattern SIEBEL.T_VARRAY
    Please help
    Thanks in advance
    Kiran

    create or replace package Rewards_Summary_Package as
        TYPE t_varray IS VARRAY(6) OF NUMBER;
    end;You've declared your type inside the package. You need to declare it as a SQL type, which is not part of a PL/SQL package.

  • Declare object type inside the package

    Hi,
    How can I declare an object type inside the package?
    CREATE TYPE TempObj AS OBJECT (
    user_id number,
    text varchar2(4000),
    date_created DATE
    This will not work if placed inside this:
    CREATE OR REPLACE PACKAGE SAMPLE_PKG IS
    ---declaration goes here.
    END SAMPLE_PKG;
    I tried using the type RECORD and it worked. But I am just curious how to declare an Object. Or maybe RECORD is the replacement of Object? is this correct?
    thanks,
    Baldwin

    The inside of a PL/SQL package should contain PL/SQL statements.
    CREATE TYPE is not a PL/SQL statement. You can't create a table in package either.
    If data protection is the reason that you would rather create the type inside the package, then consider using a record type as you suggested, or hiding the SQL type in a more protected schema.
    Message was edited by:
    jonjac

  • No CDs inside the package.

    I have just bought my mac recently. Why does not it contain CDs inside the package? My old mac comes with two CDs. This new mac has no CDs. I have problem with installing software. After I install the sofware, the OS X disappears. I need the CDs to recover my OS.

    Are you running OSX Lion? Most likely you are if you have just purchased a Mac and no install media was included.
    Macs with OSX Lion installed do not ship with media.
    There is a hidden recovery partition on your drive. Startup holding command-R and boot into Recovery Mode.
    You can re-install OSX Lion from the menu selection. You will need a network connection to download the OSX components.

  • Query for getting all function and procedure inside the packages

    hi All
    Please provide me Query for getting all function and procedure inside the packages
    thanks

    As Todd said, you can use user_arguments data dictionary or you can join user_objects and user_procedures like below to get the name of the packaged function and procedure names.
    If you are looking for the packaged procedures and functions source then use user_source data dictionary
    select a.object_name,a.procedure_name from user_procedures a,
                  user_objects b
    where a.object_name is not null
    and a.procedure_name is not null
    and b.object_type='PACKAGE'        
    and a.object_name=b.object_name

  • How do I create a duplicate image inside the same page? Then how do I change the color of that image

    how do I create a duplicate image inside the same page? Then how do I change the color of that image from black to red?

    Hello there!
    Here is one way to create a duplicate image and colorize it. As you can see below, I have one image right now, that I want to duplicate.
    My layers panel looks like below.
    To duplicate your image, click the downward arrow on the right side of your Layer Panel.
    Select Duplicate Layer. This will duplicate the layer that the image is on.
    Select "OK" to approve the duplication.
    As you can now see in the Layers panel, the image is duplicated. The new layer is now at the top of the Layer panel.
    Now to colorize your image, go to Window > Adjustments.
    The Adjustments panel will now be opened. Select the Hue and Saturation icon as seen circled in red.
    The Hue and Saturation propertied panel will be opened. I selected "Colorize", and adjusted the hue and saturation bar to achieve the level red in my photo.
    As you can see below, the image is now red.
    Now i want to make sure only ONE of my image layers is red. I moved the Hue and Saturation layer to only be on top of the bottom layer. The image on the top layer now will not be affected by the red.
    Select the move tool, so I can now move the image layers so we can see both of them.
    With each image layer selected, you can take the move tool and move the images. I moved mine on top of eachother and you can see my red layer (bottom) and the non red layer (top).
    I hope that helps. i have also included helpful links.
    Please post back with any questions,
    Janelle

  • After I click system preferences to change my screensaver, it will say loading images and the cursor will be loading. How do i fix this ?

    After I click system preferences to change my screensaver, it will say loading images and the cursor will be loading. How do i fix this to be able to change my screensaver and not have my computer do this?

    Try system preferences>desktop,click desktop tab. Click the Apple folders, iPhoto, or folders. Click the pic you want on the icon, it should put the pic as your wallpaper. You can change the picture if you change picture if you click it and the time.  Unless I don't understand your question.  ATB

  • How can i get the package structure(much complex)?

    I have a oracle package, which is called SPK_A.
    its structure as below:
    SPK_A...T_A1(table)
    ..............T_A2(table)
    ..............FUN_A1(function)
    ..............FUN_A2(function)
    ..............SPK_B(package)...FUN_B1(function)
    ..........................................FUN_B2(function)
    ..........................................T_B1(table)
    ..........................................T_B2(table)
    I have tried to write the sql with data ditionary(dba_dependencies).
    but i failed finaly.
    Because it can only decribe the reference by the package,
    and i found there are 2 problems with "dba_dependencies":
    1.the relationship between them are not necessarily filiation;
    2.It doesn't describe the really package structure;
    Can anyone help me to get the package structure as above?
    Any Ideas Appreciated.
    The sample sql as below:
    create table T_A1
    empno number,
    ename varchar2(10)
    create table T_A2
    deptno number,
    dname varchar2(10)
    create table T_B1
    empno number,
    ename varchar2(10)
    create table T_B2
    deptno number,
    dname varchar2(10)
    create or replace package SPK_B is
    lv_empno T_B1.empno%type;
    lv_deptno T_B2.deptno%type;
    function FUN_B1(in_empno number) return varchar2;
    function FUN_B2(in_deptno number) return varchar2;
    end;
    create or replace package body SPK_B is
    function FUN_B1(in_empno number) return varchar2 is
    lv_ename varchar2(50);
    begin
    select ename into lv_ename from T_B1 where empno=in_empno;
    return lv_ename;
    end;
    function FUN_B2(in_deptno number) return varchar2 is
    lv_dname varchar2(50);
    begin
    select dname into lv_dname from T_B2 where deptno=in_deptno;
    return lv_dname;
    end;
    end;
    create or replace package SPK_A is
    lv_empno T_A1.empno%type;
    lv_deptno T_A2.deptno%type;
    function FUN_A1(in_empno number) return varchar2;
    function FUN_A2(in_deptno number) return varchar2;
    end;
    create or replace package body SPK_A is
    function FUN_A1(in_empno number) return varchar2 is
    lv_ename varchar2(50);
    begin
    lv_ename := SPK_B.FUN_B1(in_empno);
    return lv_ename;
    end;
    function FUN_A2(in_deptno number) return varchar2 is
    lv_dname varchar2(50);
    begin
    lv_dname := SPK_B.FUN_B2(in_deptno);
    return lv_dname;
    end;
    end;
    /

    Use DBMS_UTILITY.GET_DEPENDENCY
    http://www.psoug.org/reference/dbms_utility.html

  • Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document.Line.

    Using Installation wizard to deploy SSIS packages from DEV server to QA server package store cause this error;
    Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document. Line 773, Column 93". This happens when loading a package and the file cannot be opened or loaded correctly into XML document.  This can be the
    result of either providing an incorrect file name to the LoadPackage method or the XML file specified having an incorrect format.  Please who have the idea of how this issue can be resolved?BI Developer

    Hi ,
       for this Error one and only one solution 
    go to view Code, line number and Column number shown in error message,
    and Remove code from there till last and save it,  it happens when we are moving Package from one server to another server. and VS adds some lines of code at the bottom of package
    something like this 
    andles="1" allownudging="1" isannotation="0" dontautolayout="0" groupcollapsed="0" tabstop="1" visible="1" snaptogrid="0"&gt;
        &lt;control&gt;
          &lt;ddsxmlobjectstreaminitwrapper binary="00080000921400008c040000" /&gt;
        &lt;/control&gt;
        &lt;layoutobject&gt;
          &lt;ddsxmlobj&gt;
            &lt;property name="LogicalObject" value="{BBFB0E
    Remove this code and save package it will work.  
    hope this will help to Developers who are searching for same ......... :) 

  • Does iPhone Packager CS 5.5 support camera access and LOADING images from the camera roll?

    Flash CS 5 only supports SAVING to the camera roll, not loading image from it. And it has no access to the camera to take pictures and access the image within the app.
    Does Flash CS 5.5 do these things? There's no point in upgrading if it doesn't support these core feature that I need.

    Hi.
    Just got an app  rejected because the popover to select the pics from the camera roll on  the iPad always appears on to-left corner, and the arrow doesn't point  anywere, and should be pointing to the button which activated it. That  "does not comply with the Apple iOS Human Interface Guidelines, as  required...". On the iPhone there's no issue because it takes over the  whole screen. More from the apple rejection message:
    "Specifically,  we noticed your app contained popover elements that didn't  point to  the element that revealed them. To avoid user confusion, a  popover  element's arrow should point to the element that revealed it."
    So, thanks for including the CameraRoll functionality, but it will be useless in the iPad apparently
    Any workaround to make it appear at a specific place when calling myCameraRoll.browseForImage() ?
    Fernando

  • Making a loaded swf-file loading images into the movie..

    Trying to convert my problem from norwegian into english
    isn't always that easy... :)
    Anyway..
    I've created som cool buttons that I want to be loaded into a
    movie (let's call i MainMovie.swf) and from there I want the
    buttons to be able to load images into a movieclip (ImageContainer)
    inside the MainMovie.swf.
    Is it possible to make the MainMovie.swf communicate with the
    the loaded buttons (each button is a swf-file containing the
    actionscript, objects, etc.) so when the buttons are clicked they
    load different images into the ImageContainer?
    My idea here is to include an as.file into the MainMovie.swf
    as well containing the url's to the images that I want to be loaded
    into ImageContainer.
    I've tried to create a button on a layer above the buttons
    that's loaded into the MainMovie.swf but I end up with the loaded
    buttons not working properlu because of the button that I've
    created and placed above them.
    Now, I don't want the url's inside the buttons thats loaded
    into the MainMovie.swf as I want the ability to be able to replace
    those buttons-files without having to use too much time writing the
    url's in each button.
    Thanks folks.

    are all your swfs using as3 or as2? if as3, you won't be
    loading into a movieclip: you'll use a loader instance and you can
    reference (or communictae with) the loaded as3 objects using the
    content property of your loader once you cast it as a
    movieclip.

  • How to add round image inside the table column? with different background color, column value should appear in the middle of the round portion.

    Hi
    This question is related to table component implementation.
    I want to display the column values inside the small round image with different colors and value should appear in the middle.

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Security Exception when loading Image in the background?

    I've written a javafx app running in the browser. It loads a bunch of images in the background. It worked fine prior JRE 7 u11.
    However it is broken since JRE 7 u13. Images are not loaded correctly, failing with a SecurityException:
    java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
         at java.security.AccessController.checkPermission(AccessController.java:560)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
         at sun.plugin2.applet.SecurityManagerHelper.checkAccessHelper(Unknown Source)
         at sun.plugin2.applet.FXAppletSecurityManager.checkAccess(Unknown Source)
         at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315)
         at java.lang.Thread.init(Thread.java:376)
         at java.lang.Thread.<init>(Thread.java:446)
         at com.sun.javafx.runtime.async.BackgroundExecutor$1.newThread(BackgroundExecutor.java:52)
         at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:610)
         at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:924)
         at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1371)
         at com.sun.javafx.runtime.async.AbstractAsyncOperation.start(AbstractAsyncOperation.java:107)
         at javafx.scene.image.Image$ImageTask.start(Image.java:917)
         at javafx.scene.image.Image.cycleTasks(Image.java:798)
         at javafx.scene.image.Image.access$200(Image.java:107)
         at javafx.scene.image.Image$ImageTask.onCompletion(Image.java:903)
         at javafx.scene.image.Image$ImageTask.onCompletion(Image.java:879)
         at com.sun.javafx.runtime.async.AbstractAsyncOperation$2.run(AbstractAsyncOperation.java:70)
         at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
         at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
         at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
         at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
         at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
         at java.lang.Thread.run(Thread.java:722)If I dont' load the Image in the background -> it's working. Is it a bug?

    It's probably worth filing a bug report on this.
    https://forums.oracle.com/forums/ann.jspa?annID=1713 "Announcement: How to file a bug or submit a feature request"

Maybe you are looking for

  • How to update apple account payment options

    Of all the items of help I cannot locate how to change the payment options on my apple/itunes account. I'm fairly certain it is currently being directed to an account I have closed. But no amount of typing in payment options or itunes payment has ren

  • How can i change the region of my account?

    Hi~ I want to purchase the cc license, but when i get to the subscribe page, it said my region is not supported. Actually I am from HongKong which is the region that CC supports. But I register my adobe account when i was working in Macau (which is n

  • How to use FileExists in a query

    I have a database that displays the location of files and when I run a query, I want to be able to verify that the file exists at that location. So in my query I'm using the FileExists function and it is always returning No, even though the files doe

  • Can not download Boot Camp Assistant

    I'm trying to download Boot Camp Assistant on my MBA, but it always stop and giving message as: download could not continue, an error occurred while downloading Windows support software I don't know how to fix this problem, anyone have experience on

  • Vista32/launch iTunes without ipod connected ?

    Every time I click on iTunes icon without ipod connected it says 'please wait while Windows configures iTunes' Then it gets thru about 75% of a loading bar and I get told to restart my system for the configuration changes made to iTunes to take effec