UI Manager for a JButton

Hello everyone,
I have set my window to have the "Windows" look and feel but I am trying to reset some of the parameters to be like the MetalButtonUI (default UI). I can not find the field for the color of the button once it has been disabled inside the UIManager class.
Does anyone know where I could find it please?
Thank you very much.

          try {
               UIManager
               .setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
          } catch (ClassNotFoundException e) {
               e.printStackTrace();
          } catch (InstantiationException e) {// if the look and feel is not
               // supported, don't worry about it.
          } catch (IllegalAccessException e) {
          } catch (UnsupportedLookAndFeelException e) {
          UIManager.put("Panel.background", new ColorUIResource(new Color(192, 192, 192)));
          UIManager.put("Label.font", new FontUIResource(new Font(Font.SANS_SERIF, Font.PLAIN, 11)));
          UIManager.put("ButtonUI", "javax.swing.plaf.metal.MetalButtonUI");
          UIManager.put("Button.border", new BorderUIResource(new BevelBorder(BevelBorder.RAISED)));
          UIManager.put("Button.background", new ColorUIResource(new Color(192, 192, 192)));There the button look like I want but when I disable them it does not change the display. Any idea please?

Similar Messages

  • Questions on "FAQ - SAP Solution Manager for VARs"

    Hi,
    I just got through the FAQ - SAP Solution Manager for VARs, but have some further questions:
    For me it is not quite clear which connections are necessary for which VAR scenrio.. currently we have setup the service desk in our solman. Customer's aren't linked to the solman yet - we have saprouter-saprouter connections. Connecting them via SAP support backbone is an interesting option, especially for incident management. To get this working we should follow note 1124718 right?
    But what about the other scenarios like maintenance optimizer and ewa monitoring? I guess for that we definitly need to build up RFC connections to each relevant customer system (~300+x)?! I think it will be hard to handle so many connections - just consider if a customer is cancalling the maintenance contract, everything needs to be removed again... best would be to have a central communication point...
    For MOPZ we need up-to-date system information. So everyone is talking about SLD. Do you also recommend this option? There we need again a connection (direct to SolMan SLD or via external SLD on customer side).
    According to the FAQ there is a workaround for ewa monitoring for customers with security doubts.. is this also working for non-ABAP components? We need SMD and WI for generating ewas for JAVA systems...
    With regards to Enterprise Support contract: ewa only need to be monitored for productive systems? Can a customer be charged if they want to have ewas monitored for other sytems too? How long do we need to keep the ewas (1 month, 3 months, half year) before they are deleted? Are there any specific requirements?
    All the work to get these scenarios working.. is this covered within the Enterprise Support contract? Can the customer be charged for work thats done by the VAR in their system (e.g. RFC connections, SDCCN, SLD,...)?
    Sorry for this long text.. hope you have some helpful ideas!
    Regards,
    Richard

    Hello Richard,
    (1) regarding network connections see document [Draft:Technical Support Network Connections for VAR Scenario|http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000089947&_OBJECT=011000358700000880802009E] as overview and with a lot of detailed information. 
    (2) yes, you have to setup once all your customer connections at the beginning but then only add/remove with customer contract changes
    (3) the workaround by sending by email can handled a anexception. EWA has to be done for productive systems like nowadays done by SAP. Additional EWA services could meas additional business case for a VAR - that's contract between VAR and customer.
    (4) whatever you think may be a business to sell - do it ! (and get a monetary bonus from your boss
    Kind regards
    Heinrich

  • Wants to activate batch management for a material which already had a Stock

    hi,
    i want to activate batch management for a material which already has a stock and open Purchasing documents.
    is there any way by which we can do it without removing the same.
    please help.

    program name is RVBCONVMAT2BM
    but i am doubtfull it will be delivered with standard SAP, you need to request you from SAP as they charge for this.
    this program convert the material to batch and all relevant dependant documents will be updated with batch no.
    Regards,
    Pravin Mukkawar
    pasting  some description of the program
    REPORT rvbconvmat2bm.
    Report illustrates the call of function module VBZ0401_CONVERT_OBJECTS
    which sets the batch management flag for one material including
    depending objects. Function module VBZ0401_FILL_BUFFERS helps
    improving the performance.
    then logic......

  • How to configure Oracle Enterprise Manager for ASM RAC Database ?

    Dears,,
    We have two databases (Primary & Standby), each database has two instances
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    How to configure Oracle Enterprise Manager for this environment ?
    I need documentation for this please.
    Many thanks & Regards,,

    Assuming an agent is running on the servers you want to monitor,
    navigate to the Agent home page (Via setup --> Agent)
    When in the agent home page select 'Add Database'and press [Go]
    Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
    When done, press [Ok] to return to the agent home page.
    Regards
    Rob
    http://oemgc.wordpress.com

  • How to configure  Oracle BPEL Process Manager for JBoss 4.2.1

    can any body help me to configure Oracle BPEL Process Manager for JBoss 4.2.1

    Look here:
    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10538/toc.htm
    Marc
    http://orasoa.blogspot.com

  • How can I re-install the OS with Deskstop Manager for Mac

    I just downloaded the Deskstop manager for Mac, tried to upgrade by BB software and it gave me the JVM Error 513. Luckily I backed up all info cause I know that means the whole thing is erased. How do I on a Mac re-install the software? When I connect it to the computer it does not recognize it?

    Hmm.. that is kind of weird. 
    I did a quick search and came up with this:
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB13003&sliceId=SAL_Pub...
    You should be able to restore software onto your BlackBerry by disconnecting and then reconnecting it. BlackBerry Desktop Manager will have show "Connecting" at the bottom of the window, and then it should eventually recognize that software needs to be releases onto it. 

  • Is it possible to activate Batch Management for a material without Class?

    Dear Experts,
                           Is it possible to activate Batch Management for a material without having Class & Characteristics maintained. As my requirement is to procure Fuels in Batches only with external no. assignment without any parameters to be checked at the time of Goods Receipt? Batches are needed for Accountability purpose.
    Regards

    >
    Chandan H N wrote:
    > Dear Experts,
    >
    >                        Is it possible to activate Batch Management for a material without having Class & Characteristics maintained. As my requirement is to procure Fuels in Batches only with external no. assignment without any parameters to be checked at the time of Goods Receipt? Batches are needed for Accountability purpose.
    >
    > Regards
    Please check this answered link:
    Batch-classification view
    If you want classify a batch, then you should have maintained the batch classification in material master which is either class 022 or class 023 (depends on your batch level set in cusotmizing). The material class 001 has no impact on the batch classifcition, it is what it is: a classification for the material.
    Edited by: Afshad Irani on Jun 20, 2010 4:40 PM

  • How assign a "Project Manager" for a new project?

    Hello,
    I need to know about the "Project Manager" in a new project.
    Does the "Resource Manager" build the team and assign a "Project Manager"?

    It totally depends on your organization process.
    Normally PMO creates project, build team,assign resources to tasks, then while save and  publish the projec assign Project manager as owner for the project plan.
    If you have Resource manager in your organization then he can build the team for the project publish it then PMO or project manager can assign the resource to the task then save and publish the plan. 
    IF project manager has idea about resources then he can also build the team and assign resource to the task.
    Note :- once PMO or resource manager build the team and publish the project then Project owner need to open the project plan add new field in the plan STATUS MANAGER and select his name for all task for which he will give the approval to the actual of the
    task send by resources.
    By default who ever will create project act as STATUS MANAGER for all the task. 
    kirtesh

  • Can't find Enterprise Manager for standalone OC4J 10.1.2.0.2

    Hi
    I downloaded standalone OC4J 10.1.2.0.2 from here so I could experiment deploying webservices to it
    http://download.oracle.com/otn/java/oc4j/1012/oc4j_extended.zip
    It installed successfully and I managed to start it ok. When I point my browser at it the home page displays but there does not seem to be an enterprise manager page. I have a jdeveloper 10.1.3 install and when I run the OC4J supplied with that I can navigate to an enterprise manager page and view applications and webservices.
    This is the home page for the 10.1.2.0.2 install
    http://img405.imageshack.us/my.php?image=oc4j101202homepagecq8.jpg
    This is the homepage of the 10.1.3 install supplied with jdeveloper
    http://img399.imageshack.us/my.php?image=oc4j1013homepagegb6.jpg
    (click the images to see their full size)
    In the 10.1.3 screenshot you can see a link to "launch application Server Control". This is missing on the 10.1.2.0.2 homepage. Should it be there for both versions?
    thanks
    paul
    Message was edited by:
    [email protected]

    Hi,
    Enterprise Manager for stand alone OC4J was introduced in 10.1.3. 10.12 does not have this feature
    Frank

  • It is not possible to install LenovoEMC Storage Manager for Linux on Ubuntu 14.10

    hi,
    I have big problem installing LenovoEMC Storage Manager for Linux on Ubuntu 14.10 64bit.
    I downloaded it from https://lenovo-na-en.custhelp.com/app/answers/detail/a_id/26108
    Installed JRE (both 64 and 32 bit)
    Selection Path Priority Status
    0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 auto mode
    * 1 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 manual mode
    2 /usr/local/java/jre1.8.0_25/bin/java 1 manual mode
    java -version
    java version "1.8.0_25"
    Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
    tryed with both. but without success.
    I am still getting error:
    ./setup-1.4.4.14439.bin
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    Launching installer...
    Graphical installers are not supported by the VM. The console mode will be used instead...
    Preparing CONSOLE Mode Installation...
    ===============================================================================
    Choose Locale...
    1- Deutsch
    ->2- English
    3- Español
    4- Français
    5- Italiano
    6- Nederlands
    7- Português (Brasil)
    8- Svenska
    CHOOSE LOCALE BY NUMBER: 2
    =======================================================
    Installer User Interface Mode Not Supported
    The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent.
    =======================================================
    Any help?
    Thanks!
    Solved!
    Go to Solution.

    Ok , i got this baby working.. sudo is not a problem here.. you need to specify additional java parameter for installer!
    ./setup-1.4.4.14439.bin LAX_VM /usr/bin/java

  • Enterprise Manager for Oracle 8.1.5 Win NT 4.0

    Anyone know where can I download the Enterprise Manager for Oracle 8.1.5 running Windows NT 4.0?
    The one in the Oralce download is for 8.1.6?
    Thanks
    Eng Wah

    Depends on how big is your database.
    For small database, doing a export and import is quick and dirty.
    For larger database, I would suggest migrate the database. But this means a lot of work and test. This is what I would do if I am doing amigration:
    1. Do a cold backup of your 815 database
    2. On your new test box, try to install 815 and start your old database
    3. Upgrade your database to 8174
    4. Install 10gr2 on your new test box
    5. Migrate your 8174 database to 10gr2.
    6 Test a lot
    7. Repeat steps 1-6 2-3 times
    8. Document tthe process and your test results completely.
    9. Repeat what you document on your production box.

  • Steps to take if BlackBerry is not shown as connected in Desktop Manager for Mac

    Hello Community,
    Here is a list of steps you should attempt to try and get your BlackBerry detected in Desktop Manager for Mac.
    1. Make sure you're using the most up to date BlackBerry Desktop Software for Mac.  Which is available to download at http://www.blackberry.com/desktop
    2. If using a MacBook/MacBook Pro make sure the BlackBerry is plugged in the left USB port close to the screen.  If using a iMac make sure you use the USB ports on the Mac and not a USB hub.
    3. Make sure you're using a BlackBerry branded USB cord.  (There are usb cords out there for charging only).
    4. Make sure mass storage mode is enabled on your BlackBerry smartphone. KB Article.
    5. Disable Media Transport Protocol on your BlackBerry smartphone. (Options>Memory)
    6. Make sure your Mac OS X 10.6 is running in 32-bit mode. KB Article.
    7. Make sure ALL other syncing software has been uninstalled and removed off your Mac.  KB Article.
    8. Perform a battery reset on your BlackBerry smartphone. KB Article.
    9. Make sure your BlackBerry smartphone is not hour-glassing or have an application error appearing on the LCD screen. However if there is a JVM 507/513 error appearing on the BlackBerry the Desktop Manager for Mac will pick up the device and reload the software.
    10. Make sure "Open using Rosetta" is not running/disabled on Mac OS X. KB Article.
    I will be adding more tips and tricks to this post once I come across them.
    Feel free to share with other community members and I always welcome suggestions and comments. 
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

    Hey burko74,
    Do you have a media card in your BlackBerry? If so, do you get prompt for mass storage mode?
    Also does the mac pick up the media card as a removable hard drive?
    Have you tried to do a battery reset as well?
    I look forward to your reply.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • How to install Oracle BPEL Process Manager for OracleAS Middle Tier

    hi,
    i need to install BPEL process manager, so i download the following file from otn
    1.soa_windows_x86_101310_disk1
    2.soa_windows_x86_bpel_101310
    here i read the document named b28980.pdf from bpel\doc\pc.1012 to install BPEL PM
    so i start to complete the pre-installation task
    1.installed Oracle database 10g
    2.Run the Integration Repository Creation Assistant on the Database
    3.Install Oracle Application Server 10g Release3 (10.1.3.1.0) and select either the J2EE Server installation type or the J2EE and Web Server installation type. selected J2EE and Web Server installation type
    and installed according to the Oracle application server installation guide.
    installed OracleAS in the path : D:\product\10.1.3.1\OracleAS_1
    4.Install the current release of Oracle BPEL Process Manager for OracleAS Middle Tier
    here they mention to select the J2EE and Web Server installation type because that type is selected in Oracle AS installed in Oracle Application Server
    so i start to install the BPEL PM by selecting the setup.exe-->and shows the location source and destination
    default destination is : D:\product\10.1.3.1\OraBPEL_1 selected next on the screen
    the next screen is select installation type here there are two types named
    1.BPEL process Manager for Developer (371MB)
    2.BPEL process manager for Oracle AS Middle tier (107MB)
    i selected 2.BPEL process manager for Oracle AS Middle tier (107MB) and click next
    pop up window opens with title dependencies
    error:
    BPEL Process manager for oracle AS Middle tier will run on top of a supported Oracle Application Server 10.1.3.1.0 J2EE server and Web Server Or J2EE server instance. this location does not contain this instance. Please select new Oracle home that contains a supported instance.
    so i changed the destination path to : D:\product\10.1.3.1\OracleAS_1\BIN then also i got the same error.
    please any one mention the path for J2EE and Web Server instance for installing the BPEL PM for Oracle AS Middle Tier.
    Thanks in Advance
    Aswath Thaniga

    If you choose the developer version you will be fine.
    If you have installed J2EE and Web Server installation into D:\product\10.1.3.1\OracleAS_1 then this is the location you install your BPEL PM into, not D:\product\10.1.3.1\OraBPEL_1 or D:\product\10.1.3.1\OracleAS_1\BIN.
    D:\product\10.1.3.1\OracleAS_1 is what we call the ORACLE_HOME, generally we create a new home for each install, but in this case there is a dependency on 10.1.3.1 OC4J container. So it needs to be installed into 10.1.3.1 oracle home.
    The bin directory is just the executables for that home, its not the actual. home.
    cheers
    James

  • Linux j2se 1.4.2 INTERNAL ERROR on Browser End: no manager for initializing

    I have just installed j2sdk1.4.2_04 and NetScape 7.1 on Redhat Linux 9. After following the instruction to enable java in the browser by issuing the command:
    ln -s /usr/java/j2sdk1.4.2_04/jre/plugin/i386/ns610/libjavaplugin_oji .
    (note the final period)
    then restarting browser, I get the following message:
    INTERNAL ERROR on Browser End: no manager for initializing factory.
    If I remove the link, the browser starts working again (without java).
    I have looked in the search engines, other people are having this problem, but I did not find the cure there.
    HELP!

    There are two versions of the plugin shared object, one for elder and one for newer versions of the C compiler. Did you pick the right shared object? If you are not sure, try the other one.
    /usr/lib/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
    /usr/lib/jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

  • Project Document Management for Primavera?

    Hi,
    I made some test with Oracle UCM trying to evaluate if it could be suitable to be used as a Document Management for Projects. My perception after these (short) tests is that UCM seems to be too generalist and too complex to be used in conjunction with Primavera Software: it seems to me that it could bring to an iceberg, being the out of water part quite smaller than the underwater architecture.
    I would know if there are some other opinions or guidelines to use UCM or some other Oracle Software with Primavera.
    Thanks
    Fabio D'Alfonso
    I update the post to add some other result. I configured the Content Repository (using JackRabbit) and the Workflow Repository; I saw that there is an option to configure the AutoVue to be accessed by P6 Web.
    I didn't find a way to configure the access to JR repository from the PM Client Application. The result is that the WP&Docs Documents are visible from P6 Web in another tab , near the documents in the repository while this repository files are not accessible (Am I right?) from the PM client application.
    In my honest opinion, getting access to the repository if still not possible, from the PM client should have an highest priority than enlarging options for P6 Web.
    Thanks
    Fabio D'Alfonso
    Edited by: Fabio D'Alfonso on Oct 11, 2009 11:17 PM

    repository documents are not currently available from the P6 client application.

Maybe you are looking for