List all Available Colors

Hi there,
Is there a way to list all available colors in java?
Thanks
James

A better question may be how to list all colors available on the output device. I'm not sure how to do that, but the best place to start looking may be java.awt.GraphicsEnvironment.

Similar Messages

  • How to list all available tables for user "karl"

    How can I list all available tables (=table names) for user "karl"?
    Nice to have would be if (after each table name in another column of each row) the number of data rows in this table can be listed similar to:
    TABLE NUM ROWS
    TESTA 12
    TESTB 3455
    ANOTHERTAB 234
    How can I do this?

    from Laurent Schneider
    http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
    SQL> select
      2    table_name,
      3    to_number(
      4      extractvalue(
      5        xmltype(
      6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
      7        ,'/ROWSET/ROW/C')) count
      8  from user_tables;
    TABLE_NAME                      COUNT
    DEPT                                4
    EMP                                14
    BONUS                               0
    SALGRADE                            5

  • The UNIX tool that lists all available IP ports is called ...

    (1) Sorry. I can't remember. What's the utility that will show you all the IP ports your ISP has open for use? I ran it a few days ago but can't seem to `apropos' it into existence.
    (2) Also, is there another way to find out?
    (3) I'm asking because every time I use eMule it I get assigned a "LOW-ID" which it says is "because you're behind a firewall or router."
    Thanks.

    Thanks, but I mean the utility that lists all the available PORT NUMBERS: like 25, 80, 8080, 4000, etc.
    aMule is big on ports like: 4661, 4242, 6543, 4500, 4000, and 1111.
    Anyone know the name of the app or utility that lists the open port-numbers?

  • How to list all available backup sets

    Hi,
    we are using Oracle 11gR2. there is an requirement to list all avilable backup sets through shell scripts, we have retention period of 15days.
    below query gives me list of backup files but it was difficult to know which files was require for "catalog backuppiece"
    DBMS_RCVMAN.SETDATABASE(null,null,null,1536975101,null);
    SELECT PKEY,FNAME ,BS_COMPLETION_TIME
    FROM RMAN.RC_BACKUP_FILES
    where
    file_type='PIECE'
    AND
    STATUS = 'AVAILABLE';Backup sets looks below on Disk. all files starting with *"db11g_c-"* are required for catalog backuppiece.
    we like to know is there another better way to get this information. we want to list only those files required for cataloging.
    -rw-r-----   1 oracle   asmadmin     38M Sep 30 02:30 backup_ADB_DB_30092010_25lp5hle_1_1_69
    -rw-r-----   1 oracle   asmadmin    285M Sep 30 02:32 backup_ADB_DB_30092010_26lp5hm7_1_1_70
    -rw-r-----   1 oracle   asmadmin    145K Sep 30 02:32 backup_ADB_DB_30092010_27lp5hpr_1_1_71
    -rw-r-----   1 oracle   asmadmin    9.4M Sep 30 02:32 db11g_c-1536975101-20100930-00
    -rw-r-----   1 oracle   asmadmin     38M Oct  1 02:30 backup_ADB_DB_01102010_29lpaqdi_1_1_73
    -rw-r-----   1 oracle   asmadmin    286M Oct  1 02:32 backup_ADB_DB_01102010_2alpaqeb_1_1_74
    -rw-r-----   1 oracle   asmadmin    125K Oct  1 02:32 backup_ADB_DB_01102010_2blpaqi9_1_1_75
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  1 02:32 db11g_c-1536975101-20101001-00
    -rw-r-----   1 oracle   asmadmin     38M Oct  2 02:30 backup_ADB_DB_02102010_2dlpdepj_1_1_77
    -rw-r-----   1 oracle   asmadmin    287M Oct  2 02:32 backup_ADB_DB_02102010_2elpdeqd_1_1_78
    -rw-r-----   1 oracle   asmadmin    169K Oct  2 02:32 backup_ADB_DB_02102010_2flpdeub_1_1_79
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  2 02:32 db11g_c-1536975101-20101002-00
    -rw-r-----   1 oracle   asmadmin     48M Oct  3 02:30 backup_ADB_DB_03102010_2hlpg35h_1_1_81
    -rw-r-----   1 oracle   asmadmin    288M Oct  3 02:32 backup_ADB_DB_03102010_2ilpg36l_1_1_82
    -rw-r-----   1 oracle   asmadmin    123K Oct  3 02:32 backup_ADB_DB_03102010_2jlpg3aj_1_1_83
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  3 02:32 db11g_c-1536975101-20101003-00
    -rw-r-----   1 oracle   asmadmin     48M Oct  4 02:30 backup_ADB_DB_04102010_2llpinhk_1_1_85
    -rw-r-----   1 oracle   asmadmin    290M Oct  4 02:32 backup_ADB_DB_04102010_2mlpinio_1_1_86
    -rw-r-----   1 oracle   asmadmin    177K Oct  4 02:32 backup_ADB_DB_04102010_2nlpinmc_1_1_87
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  4 02:32 db11g_c-1536975101-20101004-00
    -rw-r-----   1 oracle   asmadmin    2.9M Oct  4 05:26 backup_ADB_DB_04102010_2plpj1s3_1_1_89
    -rw-r-----   1 oracle   asmadmin    289M Oct  4 05:28 backup_ADB_DB_04102010_2qlpj1s4_1_1_90
    -rw-r-----   1 oracle   asmadmin     13K Oct  4 05:28 backup_ADB_DB_04102010_2rlpj1vp_1_1_91
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  4 05:28 db11g_c-1536975101-20101004-01
    -rw-r-----   1 oracle   asmadmin    7.0K Oct  4 05:29 backup_ADB_DB_04102010_2tlpj21q_1_1_93
    -rw-r-----   1 oracle   asmadmin    3.0K Oct  4 05:29 backup_ADB_DB_04102010_2vlpj223_1_1_95
    -rw-r-----   1 oracle   asmadmin    289M Oct  4 05:36 backup_ADB_DB_04102010_2ulpj21r_1_1_94
    -rw-r-----   1 oracle   asmadmin    150K Oct  4 05:37 backup_ADB_DB_04102010_31lpj2gv_1_1_97
    -rw-r-----   1 oracle   asmadmin    289M Oct  4 05:37 backup_ADB_DB_04102010_30lpj22h_1_1_96
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  4 05:37 db11g_c-1536975101-20101004-02
    -rw-r-----   1 oracle   asmadmin    8.0K Oct  4 05:37 backup_ADB_DB_04102010_33lpj2h7_1_1_99
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  4 05:38 db11g_c-1536975101-20101004-03
    -rw-r-----   1 oracle   asmadmin    2.8M Oct  4 08:00 backup_ADB_DB_04102010_36lpjase_1_1_102
    -rw-r-----   1 oracle   asmadmin    290M Oct  4 08:02 backup_ADB_DB_04102010_37lpjasi_1_1_103
    -rw-r-----   1 oracle   asmadmin    270K Oct  4 08:02 backup_ADB_DB_04102010_38lpjb0g_1_1_104
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  4 08:02 db11g_c-1536975101-20101004-04
    -rw-r-----   1 oracle   asmadmin    215K Oct  4 08:14 backup_ADB_DB_04102010_3alpjbnl_1_1_106
    -rw-r-----   1 oracle   asmadmin    291M Oct  4 08:16 backup_ADB_DB_04102010_3blpjbnm_1_1_107
    -rw-r-----   1 oracle   asmadmin    110K Oct  4 08:16 backup_ADB_DB_04102010_3clpjbrl_1_1_108
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  4 08:16 db11g_c-1536975101-20101004-05
    -rw-r-----   1 oracle   asmadmin     34M Oct  5 02:30 backup_ADB_DB_05102010_3elplbtg_1_1_110
    -rw-r-----   1 oracle   asmadmin    291M Oct  5 02:32 backup_ADB_DB_05102010_3flplbu0_1_1_111
    -rw-r-----   1 oracle   asmadmin     27K Oct  5 02:32 backup_ADB_DB_05102010_3glplc1a_1_1_112
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  5 02:32 db11g_c-1536975101-20101005-00
    -rw-r-----   1 oracle   asmadmin     33M Oct  6 02:30 backup_ADB_DB_06102010_3ilpo09f_1_1_114
    -rw-r-----   1 oracle   asmadmin    291M Oct  6 02:32 backup_ADB_DB_06102010_3jlpo09u_1_1_115
    -rw-r-----   1 oracle   asmadmin     22K Oct  6 02:32 backup_ADB_DB_06102010_3klpo0dt_1_1_116
    -rw-r-----   1 oracle   asmadmin    9.4M Oct  6 02:32 db11g_c-1536975101-20101006-00Edited by: Sachin B on Oct 6, 2010 2:50 AM

    i got the solution :)
    EXEC DBMS_RCVMAN.SETDATABASE(null,null,null,1536975101,null);
    SELECT PKEY,FNAME ,BS_COMPLETION_TIME
    FROM RMAN.RC_BACKUP_FILES
    where
    file_type='PIECE'
    AND
    STATUS = 'AVAILABLE'
    AND
    BS_KEY IN
    (SELECT BS_KEY FROM RC_BACKUP_SET where db_id='1536975101' AND CONTROLFILE_INCLUDED='BACKUP');

  • How to list all available classes?

    Hi *,
    Is there a possibility to list all the classes available to the JVM? I would like to have a list like this:
    java.lang.String
    java.util.Vector
    and so on.
    koem

    Good joke, but that is not what I meant :)
    I would like to get all the class-names at runtime. Because this list depends on the classpath it can be different with every invocation of the my program.

  • Property Inspector doesn't list all available events

    I've noticed that JDev doesn't list all of the available events for a given swing component. For example, I created a JFrame, and added a JButton and a JTextField to it. As I'm looking at the property inspector for the JTextField, it shows me only the following events:
    componentAdded
    componentHidden
    componentMoved
    componentResized
    componentShown
    mouseClicked
    mouseDragged
    mouseEntered
    mouseExited
    mouseMoved
    mousePressed
    mouseReleased
    propertyChange
    There should be a lot more, such as keyPressed, keyTyped, etc. What's up with this?
    Thank you,
    Brian D. Brown

    The behaviour described does not appear in our most recent builds, so you can expect it to function properly in the
    next available release. Until then, your work around should alleviate the issue. Thanks for pointing out the problem.

  • How can I list all available  variables inside a movieClip

    I have a lot of movieclips in my file and each movieclip has
    its own set of variables.
    There is any way to trace all available variables inside any
    movieclip? I mean, how can i know what variables and their values
    are inside a movie clip!
    Tks,

    if your movieclip has instance name mm, you can use:

  • List all available classes in all class loaders

    How can I create a list of all of the classes available to all of the class loaders of the current JVM?
    Thanks in advance,
    Asaf

    I would like to create a mechanism that would enumerate all the classes which are extending a certain other class.
    public class Cls1 : ClsBase{
    public class Cls2 : ClsBase{
    public class Cls3 : Object{
    }In this case, i would like to get a list with Cls1 and Cls2 in it.

  • How to retrive all available disk drive ID from windows OS??

    I plan to design a "file chooser" by myself because
    the one provided by JDK1.3 has a serious bug:
    when the signed applet open a file chosser, the program will crash.
    I want to list all available disk drive ID.
    Does anyone know how to do this??
    Thanks

    My guess is that you will have to implement a native call. Check out the Windows function GetLogicalDrives()

  • List View Web part not showing all available views for list

    We have added a list view web part to a page, and we get the "Current View" link in the web part...which is configurable when modifying the actual web part.
    What we'd like to see (instead of having to click the ellipses button/context menu to get the other views) is the views displayed horizontally like when you are viewing the list itself.
    When viewing the list itself, we see "All Items" "View 1" "View 2", etc.
    Is this possible in the list view web part to display all available views in a horizontal/breadcrumb layout?  Please advise.

    The below works via alert, just need to now assign data to a <DIV> or element for display.
    Trying this in simple webpart code snippet to get back all views:
        <script>
        var viewCollection = null;
            function runCode() {
                var clientContext = new SP.ClientContext.get_current();
                if (clientContext != undefined && clientContext != null) {
                    var web = clientContext.get_web();
                    var listCollection = web.get_lists();
                    var list = listCollection.getByTitle("MyListName");
                    this.viewCollection = list.get_views();
                    //var viewInfo = new SP.ViewCreationInformation();
                    //viewInfo.set_title('MyView');
                    //this.viewCollection.add(viewInfo);
                    clientContext.load(this.viewCollection);
                    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
            function onQuerySucceeded() {
                var viewInfo = 'Tasks list current views: \n\n';
                var viewEnumerator = this.viewCollection.getEnumerator();
                while (viewEnumerator.moveNext()) {
                    var view = viewEnumerator.get_current();
                    viewInfo += view.get_title() + '\n';
                alert(viewInfo);
            function onQueryFailed(sender, args) {
                alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
        </script>
        <a onclick='return runCode();'>Click here</a>
                            

  • I lost all my colored tags in OSX - They are not listed when I go to Finder/Preferences/Tags.  How can I get them back

    I lost all my colored tags in OSX - They are not listed when I go to Finder/Preferences/Tags.  How can I get them back

    Hi, try this...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    Reboot.

  • Transaction Code to list all standard function modules available in SAP

    Is there any transaction code to list all standard function modules with their
    grouping.......like in transaction BAPI all bapis are listed w.r.t. their
    functionalities....

    Then Try SE84 -> Program Library -> Function modules. Execute to list all FMs.
    By the way may we ask the purpose for it, as my ECC 6.0 system has exactly 3,78,979 FM's.
    Otherwise if this is an interview question, press the abuse button ( a small yellow traingle at the right of your message subject line ), and in the coming page enter "Interview question" and press Report Abuse.
    Hope i have cleared your query.
    Regards
    Karthik D

  • XP Pro Windowsw/Fonts has a font.  It is listed as available in MS Word.  It is not listed as available in Adobe Illustrator CS6.  How do I fix this?  Thanks.

    XP Pro Windowsw/Fonts has a font.  It is listed as available in MS Word.  It is not listed as available in Adobe Illustrator CS6.  How do I fix this?  Thanks.

    BobbyH5280.  Very helpful answer!  I am XP for the next week on CS6.  I did find 3 items that helped.  The fonts are in AI, but are listed on the bottom of the list.  Also in Edit/Preferences/Type, checking "Show Font Names in English" makes the font list easier to read (doesn't appear to change the sort order though), and (with your suggestion) checking "Sow Asian Options" might do something positive.  Thanks to all of you who sent in tips.

  • Add user-entered "Fill-In" values for "Choice" column to the list of available choices?

    I have a "Choice" column in SharePoint where users need to select a name for a specific engagement when uploading a document.  Since new engagements come up all the time, they need to be able to enter a new value and have that value available
    to select as a Choice from the list the next time they upload a document.  Is this possible in SharePoint?
    Our organization does not allow custom code using Visual Studio, but I do have access to SharePoint Designer. 

    Hello!
    All available choices are specified in the list's schema. I.e. the "Choice" column is designed to operate with predefined values that are set in the schema. Of course, you can every time add a new choice to the list's schema programmatically, but that's a worst
    practice.
    In your case I suggest to add a list (kind of dictionary) containing all values available to pick out. Then, instead of "Choice" column, use "Lookup" column which points to the dicitionary-list. Once a new value is entered, add a new list item to the dictionary.
    Next time this value will be available to pick out.
    .Net Follower (http://dotnetfollower.com)

  • Why aren't all available titles accessible in browse mode?

    I finally got around to exploring iTMS. I hate the front pages -- they are too glossy and don't have any significant content. Eventually I discovered how to get to the "browse" listing. So, I am browsing the TV shows listings, and notice that there are no "Late Night with Conan O'Brien" listed. (Browse mode, genre TV shows, no listing in the TV shows column). I thought this was strange, since I remembered hearing that they were expensive compared to other shows. Then, somehow I ended up back on the "glossy" TV page, and a picture that links to his shows is there. Following this link, I am able to find a number of Conan shows.
    So, my questions are:
    Is "browse" supposed to list ALL the content of the iTMS?
    If so, why isn't "Late Night with Conan O'Brien" listed in the TV section when it is available from the iTMS?
    If not, is there any way to tell which items are missing from the "browse" list?
    -=[doug]=-
    Imac G5   Mac OS X (10.4.3)  
      Mac OS X (10.4.3)  

    You can choose which columns are displayed by right-clicking on the column headings and selecting from the list. Properties with a tick are displayed and clicking on any item toggles its visibility. You can also drag the headings left or right, or resize them to suit your needs. You can sort on most columns when in playlists (though not in the Podcasts view) simply by clicking on the heading. Clicking again, or on the little black triangle, reverses the order. Since you can't (or shouldn't be able to) turn off the Name/Podcasts column my guess is that the column has been placed over to the right where you won't see it if the view is scrolled to the left, or vice versa.
    I may be confused however, I assumed we were dicussing iTunes but now I think you mean the view on your iPhone. In which case the listing order for podcasts should normally be most recent entry last, although it really depends on values embedded in the tag by the podcast producer. Sometimes when they release a number of episodes at the same time, or change where they are hosted from, it can upset the sort order.
    Try resetting the device to see if that helps. Are you subscribed to more than one podcast series so you can compare behaviour?
    As for your Recently Added playlist, sort it the way you want in iTunes, then right-click on the playlist name and click Copy to Play Order, sync the device.
    tt2

Maybe you are looking for