Issue with "Getting Started" tut on Ubuntu

I have installed the NetBeans IDE for JavaJX (latest as of yesterday). This is NetBeans 6.9.1 and JavaFX 1.3.1. My version of Java is jdk1.6.0_18. I am running Ubuntu 10.04 and am up to date. I am attempting to do the tutorial here. So far I have entered the code below and am able to get the basic panel to show up. The problem I am having is that neither of the images are loading. As you can tell, I have entered extra code not in the tut that I found on another thread where someone was having a similar issue. I have placed the images in the correct location. Yet for some reason I am getting an error when they load. Any help will be much appreciated.
package javafxapplication1;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
def background = ImageView
            image: Image
            { url: "{__DIR__}resources/dock.jog" }
def icon = ImageView
            image: Image
            { url: "{__DIR__}resources/mailIcon.jpg" }
Stage
    title: "Test App"
    scene: Scene
        width: 362
        height: 150
        content: [
            background,
            icon
   function makeFilesystemImage(): Image {
    def image: Image = Image {
                //Example
                //file:///C:/blah/blah/image.png
                url: "{__DIR__}resources/mailIcon.jpg";
                backgroundLoading: false;
    if (image.error) {
        println("Have not been able to load filesystem image: {image.url}, name: mailIcon");
    } else {
        println("Have loaded image {image.url} and width {image.width}, height {image.height}");
    return image;
makeFilesystemImage();Edited by: user9314903 on Feb 10, 2011 1:38 PM
fixed typo

Hi. Are you sure you have placed the images in the correct location?
Your application structure should be like this:
javafxapplication1
       Main.fx
javafxapplication1.resources
       dock.jpg
       mailIcon.jpg
      Check your image extensions. You put “jog” instead of “jpg”
Edited by: shakir.gusaroff on Feb 10, 2011 4:40 PM

Similar Messages

  • Issue with Ord Start Date

    Hi,
    I am having issue with Ord Start Date.
    When i create XYZ Asset now when i do the acquasation for that new asset. Example: Using FB01 i enter todays date and i do the posting.
    Now when i go to DEP Area TAB for the DEP Key (M200) - The Ord Dep Start Date is 15 Dec 2010.
    For this DEP Key Period Control Methods (T code - AFAMP) - Acquisation Entered is ( 6 that is - at the start of year) and the Period Control is ( T code - OAVS) (4 that is - First year convention at half year start date).
    Our client is using the fiscal year as 1 June 2010 to 31 May 2011.
    So when i do acquistion for the asset as per the period contol the Ord Dep Start Date should be 1 Dec 2010, but here it is talking 15 Dec 2010.
    Why is system talking 15 days more.
    Regards.

    Hi
    Which Fiscal year variant are you using??
    Did you maintain it in OAVH? Copy the existing entry in OAVH for K4 to your Fisc Yr var and try again
    And also, 04 does not figure for Acquisitions in AFAMP under 0004.... Whatever you specify in OAVH must also be a part of AFAMP
    Regards
    Ajay M
    Edited by: Ajay Maheshwari on Oct 28, 2010 2:31 PM

  • I am having a issue with getting data useage alerts for my iphone 4s

    I am having a issue with getting data useage alerts for my iphone 4s from AT&T.  I do not download anything huge at all.
    I looked into it and figured out that the phone dials out nightly at 12:29am every night.   I went into my settings and went to general..about..diagnostics and useage..then diagnostics and useage data to see this.  I then clicked don't send...but I am still getting useage alerts.  Can anyone help me please...
    Thanks

    Honestly, from reading the thread linked, they all come off as a bunch of whiney people that cannot be bothered to help themselves.
    Little to nothing in that thread indicates an issue beyond inept consumers.  Yes, I read several pages on the incessant gripes.  Very few made any actual attempts to troubleshoot issues before whining about the "Apple issue" and those that did actual troubleshooting got their issues resolved.
    So no, Apple has nothing to fix beyond a few specific devices that are experiencing hardware issues.
    If you have actually put forth effort and done the basic troubleshooting, take the device to Apple for evaluation and possible replacement.  Whining will get nothing accomplished.

  • Issue with getting the entire spooled job into the pdf document

    Hi All,
    My scheduled job runs fine and completes successfully but it appears to have some issues with getting the entire spooled job into the pdf document which it sends to a an end user.Has anyone encountered it before.Your kind assistance would be appreciated.
    Thank you.
    Regards,
    John

    Hi,
    Please read below link for your query:-
    http://help.sap.com/saphelp_nw04/helpdata/EN/85/54c73cee4fb55be10000000a114084/content.htm
    Regards,
    Anil

  • I have been having a issue with getting the colors on my monitor to match the colors fro my print lab. I now have the monitor calibrated to match the prints but when I open elements it doesn't use the same colors. If i have it use the calibrated profile b

    I have been having a issue with getting the colors on my monitor to match the colors fro my print lab. I now have the monitor calibrated to match the prints but when I open elements it doesn't use the same colors. If i have it use the calibrated profile by changing the color management settings, the color picker no longer shows true white or black. How do I get elements 12 to honor the new calibrated settings?

    Ok so I've done what you said and this is what it's come back ....
    I don't know that these are the errors , but they're the things which don't look right ...
    Throughout the shut down there is a recurring line ;
    It says ;
    Com.apple.launchd 1 0x100600e70.anonymous.unmount 301 PID still valid
    Then there are 2 more which I think are related ;
    Com.apple.securityd 29 PID job has I overstayed its welcome , forcing removal.
    Then the same with fseventd 48 and diskarbitrationd 13
    Oh and on Launchd1 : System : stray anonymous job at shut down : PID 301 PPID13 PGID 13 unmount...
    Then the last process says "about to call: reboot (RB_AUTOBOOT).
    Continuing...
    And stops ...
    Hope this means something to you ... Thanks again for your help so far :-)

  • Anyone had or having issues with getting nVidia NVS 450 resolution to work?

    Hi all,
    We got a new C20 with a nvidia NVS 450 card--and a ThinkVision monitor. The C20 had Windows 7 preinstalled; the out-of-the-box resolution was 640x480 and we couldn't get it to go higher than that! The ThinkVision and the video card are connected using the DisplayPort cable that came with the unit. After reinstalling the video card driver that came with the unit (on a CD that contains drivers for Windows and Linux), we could never get the resolution to go beyond 640x480. We gave up thinking it must be some quirk with Windows 7. We were going to install Linux on the C20 anyway, so we moved on doing that.
    We installed Fedora 14 (64-bit) installed the nvidia video driver that was on the CD and can't get the display resolution greater than 640x480. After a few days of trial-n-error referencing various online forums, we managed to get the resolution up to 800x600, but not the expected 1900-something resolution the ThinkVision and the video card supports.
    Has anyone had issues with getting the video card resolution to work? If so, were you able to resolve the problem? We thought we'd toss this here instead of calling up Lenovo support first because usually with technical issues, we get more intelligent replies than over-the-phone. Also, waiting for replies on a forum is less frustrating than being put on hold over the phone.
    Chris
    Solved!
    Go to Solution.

    Thank you for your reply.
    I was lucky to get a hold of another monitor and when I connected that, I got the full resolution. After much testing, I determined that it was a faulty monitor and it had nothing to do with the video card. I eventually got a replacement monitor for the one that wasn't giving me the full resolution.
    Afterwards, I went ahead and got the latest nvidia drivers from their Web site. Everything works really well now.

  • Issues with getting the slide button to work after upgrade to iOS 7.02 and 7.03

    Ever since upgrading to iOS 7.02 and 7.03 having issues with getting the slide button to work to open up iPad 2.  Happened last week and was able to restore it to new and get it to work again and it worked great until one week later (this morning) doing the same thing.  Have tried restoring iPad to new 3 times (via itunes) and still unable to get the slide button to move so can use the iPad.  IPad able to charge, able to restore, able to sync with itunes even able to recover but not able to get past first screen where you have to slide to access iPad.  Any help would be greatly appeciated.  Live about 300 miles from nearest Apple store.

    I am beginning to wonder whether there isn't some weird problem with that Home button.
    Try this: Settings > General > Accessibility > AssistiveTouch = On
    This will place a button on the iPad's screen.
    You can move this button anywhere on the screen.
    This button gives you - amongst many other things - a soft Home button.
    To turn your iPad on, you can use the Sleep/wake button or move a small magnet across the bezel of the iPad where the volume controls are.
    If you use the magnet, then: Settings > General > Lock / Unlock = On
    Now should not need to press the Home button anymore.
    If this method allows you to use your iPad without a hitch, then suspect hardware problems with the Home button.

  • Hi am having issues with getting the list of users from the Active Director

    Hi am having issues with getting the list of users from the Active Directory, can anyone help me with this!

    Hi Jason,
    Try this:
    1.  In Ultiboard select Tools>>Netlist Editor>>Pins, press the Delete button
    2.  Select all nets in the Select the Net to Delete dialog and then press the Delete button.  This will clear all nets in the layout, don't worry all traces, parts are still on the design.
    3.  Go to Multisim and select Transfer>>Forward annotate to Ultiboard.    This will add all nets that you removed back and it should fix the pin problem
    Tien P.
    National Instruments

  • Is anyone having issues with getting apps.

    Is anyone having issues with getting apps? It keeps taking me to my billing info for some unknown reason. it says (invalid address) when I try to purchase or update apps. Anyone got any answers to help me please??????

      YES I TO THOUGHT I HAD DONE SOMETHING TO MESS MINE UP, AND TRIED FOR 2 DAYS TO GET AHOLD OF SOMEONE TO SEE IF MY CC INFO HAD BEEN HIJACKED BUT WITH TODAY'S SO CALLED TECHNOLOGY YOU CAN NOT TALK TO A LIVE PERSON WHEN DEALING WITH ITUNES SO IT DOESN'T MATTER WHAT HAS HAPPENED YOU WON'T EVER REACH ANYTHING BUT YOUR OWN COMPUTER..LOL
    AFTER I FOUND THIS SITE I SEEN THAT NOT ONLY I AM HAVING THIS SAME PROBLEM, MANY , MANY MORE ARE SO I GUESS WHEN APPLE HAS DECIDED THEY HAVE LOST ENOUGH $$$$$ THEN THEY WILL FIX IT... GOOD LUCK TO YOU!!!!

  • Issues with getting to side displays and closing apps

    Maybe someone else has had a similar problem or can help advise:
    I am on a Windows 8.1 Asus Laptop with a second monitor.  
    Up until about a week or two ago other than some resolution issues (assume may be my video card) all was ok with Windows 8 and 8.1 update and I was liking the new functionality (like anything new may take a few min, but once you know how things work all
    is good).
    My problem is the following: starting about 2 weeks ago and is only with my main monitor (My secondary monitor works exactly like it should)
    - I can now no longer close apps by clicking and dragging at the top of the screen.  Now I need to get to the X button however, I can not get to that X button without clicking on another application which I can only due going to my second screen.  I
    have tried going to the top right corner, clicking, holding, ect the top bar does not show up
    - On my Laptop's main monitor I can no longer get the side Start bars to show up (one on the left shows open apps, the one on the right has the search, Share, Start, settings, ect).  
    Did Microsoft change something in an update that could have caused this issue?
    Is anyone else having this same issue?
    Any clue why functionality would work on my secondary monitor and not my primary monitor?
    Any suggestions or even key shortcuts that I can use to get to these necessary bars without the mouse that I can use till issue is resolved?
    Thank you.

    in the case of the AMD catalyst that i have myself you can try detect displays whenever catalyst is opened and also disable itc processing to give your Microsoft certified drivers quality control.
    Nvidea has similar options but it is important to know the more you change on the windows options level and driver levels can lead to many issues with a limited understanding.

  • Issue with getting sequance number from db in EO for a primary key column

    Hello Experts,
    we are working on ADf 11.1.1.2.
    we are facing issue with sequence number in our UAT instance.
    dev instance and sit instances did not gave any issues.
    We have one EO in that for one attribute we have given the value as
    new oracle.jbo.server.SequenceImpl("XXOZF_QA_CODE_S", object.getDBTransaction())).getSequenceNumber()
    in order to get the primary key column value from db sequance .
    <TransientExpression><![CDATA[(
    new oracle.jbo.server.SequenceImpl("XXOZF_QA_CODE_S", object.getDBTransaction())).getSequenceNumber()
    ]]></TransientExpression>
    now the issue is "I have incremented the sequence number through SQL plus from 10 to 20. And created a record on a VO which is based on above EO.
    But the sequence iam getting is 11 instead of 21."
    This is happening only in our uat instance all other instances are working fine.
    Can any one tell us how this frame work is still pointing tho the old sequnce number.
    regards
    Gayaz

    Also make sure that your sequence has NOCYCLE option.
    some thing like this:
    CREATE SEQUENCE test_seq
    START WITH 1
    INCREMENT BY 1
    NOCACHE
    NOCYCLE;

  • Why does Firefox not acknowledge that I have Silverlight already installed. When trying to work with "Getting Started" in Windows 7, it keeps telling me I have to download Silverlight to view this information.

    I recently purchased a new computer with Windows 7 OS. When trying to learn the transition experience from Windows XP to this new OS version, I was presented with this problem of going around in circles.
    When trying to view "Discover Windows 7" via "Start>Getting Started>Discover Windows 7", a Microsoft website opens to; (http://windows.microsoft.com/en-US/windows7/help/videos/personalizing-your-pc). It tells me; To view this contents, please install Microsoft Silverlight. Once I install it and get back to this page, I get the same message. I can not view any of the help content before installing Microsoft Silverlight. So now it is a never ending "CIRCLE of LIGHT"! Is this a problem with my Firefox or with Windows Microsoft 7?

    I'm not seeing the Silverlight plugin in your More system details list, so Firefox doesn't find it if you have it.
    I assume that you also do not see it in Tools > Add-ons > Plugins ?

  • Problem with Getting Started

    Alright I'm having a problem with the Mac instructions for Getting Started with Alchemy (http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Started)
    Basically step 13 when I type :
    gcc stringecho.c -O3 -Wall -swc -o stringecho.swc
    gives me the following output
    Macintosh-3:stringecho aman$ gcc stringecho.c -O3 -Wall -swc -o stringecho.swc
    stringecho.c:10:17: error: AS3.h: No such file or directory
    stringecho.c:14: error: syntax error before ‘echo’
    stringecho.c:14: error: syntax error before ‘AS3_Val’
    stringecho.c:15: warning: return type defaults to ‘int’
    stringecho.c: In function ‘echo’:
    stringecho.c:22: warning: implicit declaration of function ‘AS3_ArrayValue’
    stringecho.c:22: error: ‘args’ undeclared (first use in this function)
    stringecho.c:22: error: (Each undeclared identifier is reported only once
    stringecho.c:22: error: for each function it appears in.)
    stringecho.c:29: warning: implicit declaration of function ‘AS3_String’
    stringecho.c: In function ‘main’:
    stringecho.c:41: error: ‘AS3_Val’ undeclared (first use in this function)
    stringecho.c:41: error: syntax error before ‘echoMethod’
    stringecho.c:47: warning: implicit declaration of function ‘AS3_Release’
    stringecho.c:47: error: ‘echoMethod’ undeclared (first use in this function)
    stringecho.c:50: warning: implicit declaration of function ‘AS3_LibInit’
    stringecho.c:50: error: ‘result’ undeclared (first use in this function)
    Macintosh-3:stringecho aman$
    From what I gather it seems that some files are missing (AS3.h) which is why the errors and warnings are caused... is there anything I have to do to get that file
    If anyone can help explain whats wrong and how to fix the problem it will be greatly appreciated
    Skribbs

    ausrelemac wrote:
    No, I enter pin, everything was fine, even wrote that connected to the network.
    then swipe to the left, to connect to the wi-fi and then writes: searching a mobile network. and can do nothing. 
    maybe my sim is not suitable ? I buy a sim free device...
    do you have a data plan on it?
     if not then you need to set it up with wifi
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Issue with Get-LogonStatistics in Exchange 2013

    Hi all,
    I run into an issue with the Get-LogonStatistics cmdlet. The error says:
    Cannot find LogonStatistics objects from the root 'DB1'. Please make sure that you specified the correct search root and that you have the correct permissions to perform the search.
        + CategoryInfo          : NotSpecified: (:) [Get-LogonStatistics], MapiOperationException
        + FullyQualifiedErrorId : B3D0201A,Microsoft.Exchange.Management.MapiTasks.GetLogonStatistics
        + PSComputerName        : mb1.ex2013.test
    I run that cmdlet as a member of the OrganizationAdmin rolegroup.
    Any ideas?
    Thanks in advance!

    Hello,
    Sorry for the delaying respond. The error indicates there might be a problem with the ACLs. But the cmdlet "get-mailbox" works, so the ACLs should be fine.
    From the result for checking, the everythings is also fine.
    Is there any update?
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • Issue with getting task:acquiredBy in a BPEL Composite.

    Hi,
    We are facing an issue with an XPath query:
    <assign name="RescanHumanTask_1_readTask">
    <copy>
    <from variable="taskAssignedMessage"
    part="payload"
    query="/taskservice:taskAssignedMessage/task:task"/>
    <to variable="RescanHumanTask_1_globalVariable"
    part="payload"
    query="/task:task"/>
    </copy>
    <copy>
    <from variable="RescanHumanTask_1_globalVariable"
    part="payload"
    query="/task:task/task:systemAttributes/task:acquiredBy"/>
    <to variable="inputVariable"
    part="payload"
    query="/client:process/client:invoice/contentType:assignee"/>
    </copy>
    </assign>
    It gives us an error:
    Error in evaluate <from> expression at line "427". The result is empty for the XPath expression : "/task:task/task:systemAttributes/task:acquiredBy".
    Can someone figure out a way of getting the System Attribute task:acquiredBy inside a bpel flow.
    Regards.
    --Irshad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    acquiredBy will be empty unless it is acquired by any user. you should pick value from last updated by field.

Maybe you are looking for