How to use color chooser?

hi, how to use the color chooser provided in the sun one studio?

Still the wrong forum  - this forum is about writing plugins.

Similar Messages

  • How to use colors in a progressbar

    hi!
    can you please telle me how to use colors in my application, i mean how should i use a color as a parameter such as :
    progressBar.setBackground(Color);
    in this examlpe, how shoul i pass the paremeter? in which codification, shall i pass it like this way :
    progressBar.setBackground(white);
    or shall i pass it in an other way !!
    please try to help me !

    Color.white, Color.red etc.
    http://java.sun.com/j2se/1.4.1/docs/api/index.html

  • How to use Color Splash Effect in Photoshop CS6?

    Hi everyone
    Can you guy help me out How to use Color Splash Effect in Photoshop CS6? I need to use in slide in my web
    Thanks

    You mean "leave part in color and make the rest black and white"?
    Just select or mask the part that should be B&W and desaturate, or use the B&W adjustment.
    Or you can add a B&W adjustment layer and mask out the parts that should stay in color.

  • How to use color in alv

    HELLO,
    can u tell me that i want to color column in alv so how to use it ingrid layout.
    thanks.

    *& Report  ZDEMO_ALVGRID                                               *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic ALV grid, Enhanced to display each row in a different     *
    *& colour                                                              *
    REPORT  zdemo_alvgrid                 .
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      line_color(4) type c,     "Used to store row color attributes
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
    *       Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    * There are a number of ways to create a fieldcat.
    * For the purpose of this example i will build the fieldcatalog manualy
    * by populating the internal table fields individually and then
    * appending the rows. This method can be the most time consuming but can
    * also allow you  more control of the final product.
    * Beware though, you need to ensure that all fields required are
    * populated. When using some of functionality available via ALV, such as
    * total. You may need to provide more information than if you were
    * simply displaying the result
    *               I.e. Field type may be required in-order for
    *                    the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    *  fieldcatalog-do_sum      = 'X'.
    *  fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    *       Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    * Set layout field for row attributes(i.e. color)
      gd_layout-info_fieldname =      'LINE_COLOR'.
    *  gd_layout-totals_only        = 'X'.
    *  gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
    *                                         "click(press f2)
    *  gd_layout-zebra             = 'X'.
    *  gd_layout-group_change_edit = 'X'.
    *  gd_layout-header_text       = 'helllllo'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
    *       Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
    *            i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
    *            i_callback_user_command = 'USER_COMMAND'
    *            i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
    *            it_special_groups       = gd_tabgroup
    *            IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
    *            is_variant              = z_template
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
    *       Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    data: ld_color(1) type c.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
      from ekpo
      into table it_ekko.
    *Populate field with color attributes
    loop at it_ekko into wa_ekko.
    * Populate color variable with colour properties
    * Char 1 = C (This is a color property)
    * Char 2 = 3 (Color codes: 1 - 7)
    * Char 3 = Intensified on/off ( 1 or 0 )
    * Char 4 = Inverse display on/off ( 1 or 0 )
    *           i.e. wa_ekko-line_color = 'C410'
      ld_color = ld_color + 1.
    * Only 7 colours so need to reset color value
      if ld_color = 8.
        ld_color = 1.
      endif.
      concatenate 'C' ld_color '10' into wa_ekko-line_color.
    *  wa_ekko-line_color = 'C410'.
      modify it_ekko from wa_ekko.
    endloop.
    endform.                    " DATA_RETRIEVAL

  • How to use color chart in FCX

    How would I use a color chart in FCXP?  I used to color correct using RGB values but FCXP doesn't show RGB.  How do others do it?

    I'm a lazy hobbyist, no Macbeth in use, but I bought for cheap  a White Balance plug-in from fcpeffects.com
    (they constantly offer discounts, if I remember correctly, I paid 19$).
    Then, it adds a color-picker in FCPX:
    ... if this is what you're looking for.
    Plan B)
    Use a roundtrip to DaVici Resolve, which is perhaps better suited for professional color correction than a 19$plugin
    The nice automatisms to fetch&match a Macbeth-board like other color-correction tools offer, we still have to wait for… maybe Mr Riddles forthcoming Color Finale has that feature? Next week we know...

  • How To use JFile Chooser in a Tabbed Pane Dialog

    I have created a tabbed pane dialog. In one of the tabs I want to add a JFile Chooser.
    How can I approach this problem. also Do I have to use a JDialog with a frame or can I create a JDialog without using a frame and create a instance from the main function.

    I have created a tabbed pane dialog. In one of the
    tabs I want to add a JFile Chooser. Since JFileChooser is a JComponent you could add it to any Container like any other JComponent.
    Maybe you have to do some init by hand which is done normally by the show*() methods of JFileChooser. Taking a look at the source of showDialog() should help.
    Hope that helps,
    Alex

  • How to use color picker or RGB values in the hue-saturation colorize adjustment

    I have a monochromatic adornment that I want to match to the color of a logo.  I am attempting to use the colorize option of a hue saturation adjustment layer to match color.  But I cannot quite get the colors to match.  I know the RGB values of the color, but how do these translate into the Hue/Sat/Lightness numbers of the adjustment dialog?  I tried using the correlating H/S/B values fro9m the color picker but that did not work.
    Any suggestions?

    Thanks Zeno.  Creating a layer with the color and using the blend mode worked fine.  But as I stated in the original post, using the H/S/B (there is no HSL) values from the color picker does not work when you place them into the H/S/L values in the hue-adjustment layer with (or without) the colorize box checked.  But your first suggestion worked like a charm.  Thank you.

  • How to use color labels in Bridge to inform conditional treatment in PS?

    I'm trying to find a way of using the color labels in Bridge ('select', etc.) to allow conditional use in Photoshop javascript.
    So, for example, all the images tagged with red will be sized to 600px, while those tagged with green will be sized to 400px.
    Any ideas?
    Ian

    A search of the forum for ExternalObject should find you plenty of reference…?
    You just need to load library…
    Retrieve your value…
    Do your Photoshop process ( use switch or if/else )
    Unload the library
    Done…
    If you struggle post back I may be able to help…

  • Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also k

    Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also know the sequnce is alt t, alt o, alt c, alt a, then ok, ok. Got to be a way to make a one key short cut for this. I use a black background to reduce eye strain, but about 10% of the webpage I go to can't be send with black so I have to go into tools and hit 6 or 7 things to chnage it then after through with webpage have to do it all over at Not allow webpages to have own color. Very very cumbersome.
    == This happened ==
    A few times a week
    == made that way

    https://addons.mozilla.org/en-US/firefox/addon/toggledocumentcolors-198916/
    The above addon will solve your problem.
    Shortcut to toggle user color/page color :- Ctr+Shift+C

  • How to use single key to color a message in Mail.app?

    I would like to be able to color code a message's line in the main message summary window by pressing only a single key. In thunderbird, this is accomplished by pressing 1 to 5, each corresponding to a different color.
    Mail.app allows coloring a message, to my knowledge, only by bringing up colors chooser and then selecting a color (by default in a inprecise color wheel).
    How do a make "hot keys" for specific colors?
    thanks

    To answer my own question: Leopard and Mail.app don't suport this directly.
    What works is using Fastscripts Lite to bind application-specific hot keys to some simple applescripts.
    Here is one such script, modeled on an Apple sample script:
    using terms from application "Mail"
    tell application "Mail"
    set selectedMessages to selection
    set selectionCount to (count of selectedMessages)
    repeat with messageNumber from 1 to selectionCount
    set theMessage to item messageNumber of selectedMessages
    set background color of theMessage to green
    end repeat
    end tell
    end using terms from

  • How to use AppleScript to set "character fill color" in Pages 5.2?

    For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages. 
    If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
    I've looked all over and cannot find how to use applescript to set the character fill color in pages. 
    In some examples (not directly related) I see "character fill" used. 
    In others, I see "colorfill." 
    Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors. 
    Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
    Thanks!
    Chuck

    Pages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.

  • How to Create a Custom Color Chooser/Palette with 16 or 24bit Color Support

    Hi All,
    I need some help on how to create a color palette/chooser with 16 bit or 24 bit color options available
    First setting up the context:
    I am developing an application which allows designing some GUI screens by adding various controls.
    Now these GUI Screens developed are compiled and downloaded into a series of display devices with each device having a different color support (For e.g. 256 colors, 16 bit, 24 bit and 32 bit).
    Now according to the selected device i would need to provide the "Color Chooser" with only those colors that are supported by the device. SO I need to design a Color Palette(s)/Chooser(s) with 16 bit, 24 bit or 32 bit color options
    Could anyone help me out on how to create such palette? A piece of sample code would be a great help
    Best Regards

    It is not that simple... reason I almost never use those old captions anymore but replaced them by shapes (much easier to format).
    Have a look at the available captions: for each caption you'll need a bmp and a fcm file, and follow naming conventions. See:
    http://helpx.adobe.com/captivate/using/text-captions.html#creating_custom_text_caption_sty les

  • CS4: Use HSB as default color chooser

    I've searched around, both the forums and the larger interwebs, and there doesn't seem to be a way to default to the HSB color chooser.  The "Document Color Mode" can be set to RGB or CMYK, and I realize HSB is just a way to think about colors that end up on the screen or printed, but it seems like there should be a way to work with colors in HSB mode all the time.
    I think this could either be achieved by adding HSB to the Document Color Mode option, or at least if I choose HSB in a color picker, that color picker stays in HSB mode (persist the setting).
    CS5 please???  Or maybe even better, some hack so I can do it in CS4?

    Many have written about this for years and nothing is happening with this team illustaror still deaf. It seems to me that the problem is more in the archaic method of choosing a color than the color model. HSB is not you just get a more intuitive way for humans in the process of creation. Only later doing a color correction from the viewpoint of reproductive technology. But there is probably also an idea how to connect to simultaneously select colors using the HSB and at any time to see and control other industrial areas. Here, checked and according to me a very good idea of choosing a color other Corel Painter Programs that use only a professional is not illustartor.
    Another reason for my disappointment Illustartora shoulder CS5 and willingness to buy.

  • How to use CHOOSE function in OBIEE

    Hi,
    Could any one help me out in using the choose function in OBIEE.
    How can a column be restricted using the choose function, when different users belonging to different groups logs in.
    Rakesh

    It seems be obvious that you should not publish reports to users and groups who are not allowed to see the columns in the report,
    but in practice it can be very challenging to oversee this, especially when you have a lot of groups and a very strict security model....or "unsurmountable" and unchangeable "business requirements" ;-)
    Testing definitely is the crucial point. And when you start going nuts with column access rights plus column selectors, dynamic view switching, guided nav., dynamic column formulae etc. etc. the fun really begins.

  • How to use downloaded Adobe color theme (.ase) in Photoshop cc?

    How to use downloaded Adobe color theme (.ase) in Photoshop cc?

    I can confirm this functions but there is no indication it's been successful and the swatches appear in the Swatches panel, *not* in the Libraries panel where I would expect them.  My issue is that IMO this should not even be an issue, because a palette created on color.adobe.com should just show up in PS CC unless I'm not understanding the intended behavior.
    Anyone?

Maybe you are looking for

  • Can no longer send or receive text messages

    Hi, I'm new to this but here i go. I have a 3GS Iphone that has the latest update. Recently the plan i had was a family plan and just a few days ago i split the two phones that was on my plan to be two separate plans (accounts). The other phone that

  • Photoshop CC terminates unexpectedly

    Photoshop CCunexpectedly just after startup. Other Creative cloud applications starts normally. I am running Windows 7 64 bit, GForce GTX670. Any sugggestions?

  • Withholding tax base amount problem

    Hi experts, I have WT configured like this: Base amount: Gross No accumulation Minimum/maximum: Type level (both) Central inv. prop. + Check min. base amnt at pmnt doc level In minimum/maximum per Withholding tax type: Minimum base amount "$500" The

  • How do I get back features from older Firefox versions?

    Some features of older version FF are gone from FF 4.0. 3 I particularly miss: (1) Percentage bar in upper left corner page of Inbox messages. GONE! (2) I could click on arrow on right side panel (annoying ads) and hide said panel and widen my Inbox

  • How do I get this code into iBook Author?

    I would like to add an accordion menu to my iBook that will reveal a list of web links when clicked. Here is a link to an example with example code. I'm just not sure how to get this code and it's required external javascript file into iBook author.