Color{red:255  green:0 blue:0} is not working?

In the following code I tried to use Color{red green blue} to set the color of rectangle
is not working for me. Is there any thing wrong with my code? But if I use Color.RED
then it works. I can't figure out why setting color using Color{reg, green, blue} does not
work.
import javafx.ext.swing.*;
import javafx.scene.geometry.*;
import javafx.scene.*;
import javafx.scene.paint.*;
SwingFrame {
    background : Color.WHITE;
    width      : 600
    height     : 400                 
    visible    : true
    content: Canvas {
               content: [
                 Rectangle{x:10 y:50 width: 580  height: 200 
                                stroke: Color{red:255 blue:0 green:0}}
              // Rectangle{x:10 y:50 width: 580  height: 200 stroke: Color.RED}
}

Thanks for qucik reply. And your suggestion worked.
Could you please point me to the location of documentation for this?
Thanks
Edited by: swamyv on Oct 13, 2008 1:44 PM

Similar Messages

  • Red eye tool in photoshop CS6 does not work

    Red eye tool in photoshop CS6 does not work. - why? have tried several times. Look at several videos, - but still my Red eye tool in photoshop CS6 does not work.

    Have you tried resetting Photoshop tools and if that does not work resetting Photoshop preferences?
    http://www.mouseprints.net/old/dpr/Redeye.wmv

  • Blue ray disc not working in HP laptop

    Hi,
    I recently bought a HP laptop with HD and Blue ray.
    It was working fine till last month.
    I bought a new LCD TV and i tired to connect it with my laptop.
    And i tried to play my blue ray disc.
    It was not working.I don know wat the problem could be.
    Please anyone help me..
    Iam stuck up with this thing.
    I tried the following things:
    1. I updated the Media smart stuff..
    2. I reinstalled and installed the Media smart itself.
    But still the system says " please insert disc"
    It cant read the disc.but when i played normal DVD's its working fine.
    Only blue ray its not working.
    So please some one help me
    Thanks,
    DJ

    Since this is a desktop computer, I would recommend posting this in the desktop forums for better coverage since this is the notebook forums.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • AX green light, but airtune does not work

    I just bought an AX. The main purpose is to use airtune and to share printer at home, and to bring it to create wireless network when I am on business trip.
    When I first set up the AX, or later do a reset, the setup program can find AX. I use airport admin utility to set up the following:
    Airport tab:
    Wireless model: join an existing wireless network (wireless client)
    Wireless network: I choose the current wireless network I have at home.
    Internet tab:
    Configure: Using DHCP
    I clicked 'Update' button. The status light became green, but airtune does not work. I did not see the button show on iTune for me to choose the speaker. I went back to Airport Admin Utility, but could not find AX at all.
    I googled for possible solution, and saw concern regarding DHCP, so I tried:
    Internet tab:
    Configure: Manually
    IP address: 192.168.0.30. My wireless router assigns IP from 192.168.0.2 to 192.168.0.33
    Subnet mask: 255.255.255.0
    Router address: 192.168.0.1
    DNS server: 192.168.0.1
    After updating the information to AX, I have still the same issue: green light, but no airtune, Airport Admin Utility cannot find the AX.
    My wireless is a gigabyte. Please help. Thanks.
    Message was edited by: sfmech

    Sadly I can't help, but i can confirm: I am having the same problem. AirTunes was working fine, up until I went away for a month -- have just returned, and now am getting the same problem with TWO Airport Express units, which makes me think it is some kind of software update issue?
    Will keep looking into it, and will let you know if I find anything.

  • Fn shortcuts and blue thinkvantage button not working

    The Fn+F2, Fn+F5, and Fn+F8 shortcuts are not working on my computer, yet the Fn+F3 and Fn+F4 shortcuts are working. The other ones used work as well but now aren't and I'm not sure why. They blue Thinkvantage button up by the volume also used to work and is no longer working as well. Any ideas as to how I get them to work again?

    I thought this was the one place I could rely on for answers, but I guess not. I have given up hope.
    T400
    Intel® Core™2 Duo T9400 2.53 GHz__Windows 7 Professional__3GB Memory__160GB, 7200RPM Hard Drive__14.1” WXGA+TFT-CFL__ATI Mobility Radeon™ HD 3470--

  • Encore cs 5.1 blu ray chapter not working.....

    I've a tone of problems with this version.  Encore showing error codes 14, 25.....Some of the chapters working fine but others not. I've tried several ways to solve the issues but no hope. It seems you need full knowledge of blu ray theories to burn a blu ray!!!!  

    HDV&S wrote:
    I'm using windows 7 on laptop with i7 processor and nvidia GTS 360M display, External 1 TB HDD through SATA cable.
    Original shot was on HDV 60i with multiple Sony cameras and did the multicam edit. Converted to H264 with PCM audio with premiere CS 5.5, used VBR 2 pass everthing else left as defaut settings. Rendering took almost 21 hrs to generate  2:18 hr. video .m4v and .wav files (file size 17.7 gb).
    When I bring these videos as timeline(took ~20min to load files.) into the Encore with all the menus(created in photoshop with buttons and res. 1440 X 1080 to match with other assets ), some of the chapters not working on the preview window and Encore transcoded the whole files took another ~10 hrs!
    Is there any better and faster workflow to complete the project ?
    note: I used the cineform avi for multicam editing in premiere pro with the same settings (HDV 29.97).
    Okay, we are starting to make progress, but why are you shooting in HDV? That is a lossy system using non-sqyuare pixels so the whole thing is effectively getting converted. No wonder it took 21 hours and it looks to me as if you exported to the wrong settings - .m4v is regular .264, not BluRay. See Stan's suggestion.
    We still need to see the exact error messages - it looks likely you are out of HDD space. Remember that Premiere & Encore use 32-bit float audio temp files, and the media cache databases will be enormous.....how much HDD free is remaining?

  • Thinkpad laptop, red "mouse" button/nub in keyboard does not work with version 4.0, Why?

    IBM and/or Lenova laptop computers have the red button/nub in the center of the keyboard that acts with "mouse" functions such as scrolling up and down pages. After downloading Version 4.0 of Firefox this feature does not work anymore. Is it locked in some settings?

    i figured it out!
    1) go to control panel
    2) click on mouse
    3) click on the UltraNav tab at the top
    4) for the TrackPoint, i have the Enable TrackPoint box checked and the "Use as pointing device with advanced features
    5) click on Settings
    6) click on settings again towards the bottom right
    7) for "Scrolling Type" click on Smooth.
    that should work!

  • Blue tooth software not working

    dear sir,
    i have nokia x6 16gb
    the problem is that the Blue tooth of this nokia x6 16gb not working.
    please solve this issue as soon as possible.
    iam un able to send or receve any deta.

    Do you get the message 'Unable to perform Bluetooth Operation' when you try enabling BT ? If so, many users are facing this issue on various models. What you may try is Updating / Re-installing the Firmware..If that doesn't solve the issue then Reset the phone by dialing *#7370# followed by the security code (Default is 12345 unless set by you) when prompted. Be warned that this will erase all data from the phone memory..so Back-up data first. You will need to restore after the Reset. You will also need to re-install the applications that currently are installed.. If this also doesn't solve the issue then most probably its an Hardware issue that can ONLY be resolved by Nokia Care technicians...
    BTW, is the FM Radio working OK ?

  • Blue Icicle mic not working

    Hello
    Tried all the internet fixes ASIO4 all and so on
    and still my blue icicle mic does not work with Premiere 11 elements
    It works in windows movie maker, AVS, and all the other software I have
    anyone out there have a solution
    thank you

    Welcome to the forum.
    Premiere has some problems with USB connected mics. Some work, but some do not. I do not recall any posts specific to the Blue Icicle XLR to USB setups, in either the PrE, or PrPro Forums. I have not seen mention of it in the Audition Forum, but spend a lot less time there, so you might do a Search of that forum. Though there are differences between Premiere and Audition, there are some similarities, as well.
    As a test, I would borrow a mic that plugs directly into the sound card/mic input, and see if PrE sees that.
    Good luck,
    Hunt

  • LELA icon has red cirle with line through it. Not working.

    On one of my home computers, my Linksys icon in the sytem tray has a red circle with a line thorugh it. It doesn't seem to be working. Tried rebooting, repairing the install, rebooting, uninstalling, rebooting, reinstalling, rebooting, OK I'm all out of reboots. It still doesn't work.
    LELA works OK on two other computers. (All 3 are Vista computers.)

    Gerco, LELA does not work no matter what version.  If it does, consider yourself lucky.  If not, don't waste your time.  It gives incorrect information and makes any troubleshooting of the network difficult from normal procedures due to its interference.  Please remove it from your system as it is not needed for ANYTHING for the router or your network, sorry.  The program that might work better is Network Magic, try that. 

  • When I go on-line using Yahoo, the words in any article start to blurr, and turn different colors, red, orange, green. Can't read

    Even while typing this it does it. I have to reload to clear. But it doesn't stay cleared. It's only on Yahoo, Not on Google. This problem started after Yahoo's New Home Page. coincidence? I have tried changing the fonts and colors but doesn't correct it. I also have IE but with Yahoo, and it does it.

    Are you using any theme in firefox?
    Please create a screenshot of the problem you're seeing by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.

  • Blu-ray does not work after update to windows 7

    Hi, couple months ago I have installed windows 7 on my HP Pavilion dv5-1070ew (previously there was pre-installed Vista). I've installed the newest version of HP MediaSmart DVD (4.0.3822) downloaded right from HP.com but unfotunately, when I'm inserting a BLU-RAY Disc it's not being played. HP MediaSmart DVD opens and it writes that "Disc is ready to play" (so it is able to see the disc), but when I click button "Play", the monitor starts to wink for a while and then nothing happens...
    Thanks in advance for any help
    This question was solved.
    View Solution.

    I would suggest downloading trial version of cyberlink power DVD from here http://www.cyberlink.com/downloads/trials/powerdvd​/download_en_US.html?affid=2581_853_290_12410_0_EN​... and check if we till have the same issue.
    But before doing that, I hope after the change of OS, you have installed all the required drivers like chipset, graphic, etc....
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • Blue Ray player not working after upgrading to windows 7

    I upgraded my HP Pavilion  m9517c-b desktop PC bundle (part number FQ575AA) which includes:
    m9517c Desktop PC, part number FQ574AA# ABA   to windows 7 from Vista  home 64.
    This upgrade now prevents the HP mediasmart program to play blue ray DVD's  giving a message of
    " The content is protected     The content cannot be played in the current display mode" 
    I had no problems playing BlueRay DVD's or any other thing with Vista home 64.   I was looking for mediasmard driver updates but don't seem to find any that will allow blueray  DVD's to play.    Is there a solution to this problem.
    Thanks
    dmc

    Do you have more than one display connected to your computer (for example, a monitor and also a TV)? Typically you would get this error if you're trying to play a Blu-ray movie in dual display mode, so you'd have to pick one display or the other.
    If you have more than one display, or even if you only have one display connected, try toggling the display mode by pressing Windows (flag) key + P and select the one screen you want it to play on. Refer to Resolving DVD and Blu-ray Movie Problems (Windows 7) for other troubleshooting ideas.
    Please click the thumbs up button to say "Thanks!"
    Clicking "Accept as Solution" on a reply that solves your problem makes it easier for other people to find solutions.
    I am an HP employee.

  • Apple Studio 21 blue/white  does not work w/ 266 G3

    Help:
    I just picked up a free Apple Studio 21 blue/white ( my 1& 1/2 year old 19 electron blue stopped working ) and I can't get it to work on my G3 mini tower
    Thank you
    Mike

    Help:
    I just picked up a free Apple Studio 21 blue/white ( my 1& 1/2 year old 19 electron blue stopped working ) and I can't get it to work on my G3 mini tower
    Thank you
    Mike

  • Blue tooth is not working in iphone 4

    How I can correct my blue tooth because It is not detecting stereo head phones

    Are the headphones in discover mode?

Maybe you are looking for

  • Printing one file to multiple printers

    I think this is the right section.  If not, please forgive me. I'm trying to make, if possible a button on the toolbar that will print two copies to one printer, and one copy to another printer.  Is that even possible? Thanks.

  • RFC - XI - Java Proxy HTTP_RESP_STATUS_CODE_NOT_OK

    Hi all, I need to work on RFC->XI-> Java proxy. While excuting, i am getting an error : <SAP:Category>XIServer</SAP:Category>   <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>   <SAP:P1>400</SAP:P1>   <SAP:P2>Bad Request</SAP:P2> Ca

  • Dump after process starting

    Hello I tried to start the process of requisition approving. This process is not standard but it is based on the standard E-Recruiting process HR_MSSRCF_REQUISITION. After pushing the link "Create requisition request" I got a dump in program /1BCDWB/

  • Removing Newsstand from the iPhone

    Hello, I was wondering if someone had a solution to deleting the newsstand icon on the iPhone or at least moving it to the Utilities folder (out of site out of mind sort of thing). I mean there are a lot of people who would like to get rid of this, j

  • What's the correct brightness setting for viewing iphotos

    What's the correct brightness setting for viewing photos accurately on iphoto.