Having trouble setting the look and feel

hi, i've almost finished my app and am trying to improve it's appearance. I'm trying to change the look and feel but i can't seem to get any changes to take effect. i've been reading through the tutorial on L&F but obviously am not 'getting' something.
At the moment all I'm trying to do, is to add the line below. I'm not totally sure where to put it though. I've tried putting it in the main method and nothing happens. I've also tried putting i the CreateandShowGUI() method and that doesn't seem to do anything either.
Where should it go?
try {
        UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    } catch (Exception e) {
        System.err.println("Could not initialize java.awt Metal lnf");
    }

Put it before you start assembling your GUI, ie. instantiating and adding components.
Cheers
DB

Similar Messages

  • How does one goes on building an Icon with the 'Look and Feel' of an Icon?

    Hello everybody, I work as a Graphic Designer for a company that is asking me to create an Icon for a software that we own, I am having trouble as to how do i go building one, I use Illustrator and Photoshop but I am not sure how to give the Icon the 'Look and Feel' of an Icon, the colors look a bit different and so the 'texture' of my vector image. If anyone can explain me or point me to a good website that explains how should I go on building an icon so it looks like an Icon that will be great. I thank you in advance for any reply that you can give me regarding the subject.

    don't know what you mean by "look and fell of an icon". You could go to vectortuts.com - it has lots of tutorials on the creation of different icons. Also check hicksdesign.co.uk for their presentations on icon concepts

  • I'm having trouble using the iTunes and Apps store because i can't register my Nigerian mastercard. What should i do. i'm trying to register it in the Nigerian iTunes store.

    I'm having trouble using the iTunes and Apps store because i can't register my Nigerian mastercard. What should i do. i'm trying to register it in the Nigerian iTunes store.

    Is this a new Apple iD? If it is, and you have already set it up, then you have two options:
    1.     Temporarily put a Credit Card or Gift Card on the account to download the free app. If you put a credit card, then once you have downloaded the app, you should be able to go into your Account preferences and change the payment option to = None.
    2.     You can download the fee App, and then set up a new Apple ID.
    Cheers,
    GB

  • Setting defaut look and feel under Gnome generates errors.

    We are migrating some of our developer machines to linux, and in the process we are testing in house applications to ensure that in program file locations are correct and that everything just works. Each of our applications set the default look and feel at startup, which hasn't been a problem until now. Errors are being generated, despite no apparent affect on the application or how the application looks. Commenting out the the line of code that sets default look and feel result in an application that looks exactly the same, but with no errors. Keeping the line commented isn't an option, since the applications look horrendous in a Windows environment w/o the Windows L&F.
    My question is: Since these errors have no apparent affect on the application, do we need to worry about them? Can they be safely ignored?
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());will generate errors during application lifetime, a snippet of the errors:
    (<unknown>:16565): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)
    (<unknown>:16565): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
    (<unknown>:16565): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed
    (<unknown>:16565): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

    It's a bug in jdk
    look here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6624717
    and vote for it

  • How Can You Change the Look and Feel of Charts in OBIEE 11g

    How Can You Change the Look and Feel of Charts in OBIEE 11g?
    Edited by: user11973122 on Jul 18, 2012 12:13 AM

    Check these files
    OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\s_blafp\viewui\chart\dvt-graph-skin.xml
    OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\views\dvtchart\obips.dvtchart.xml
    OFM_HOME\Oracle_BI1\bifoundation\web\display\chartfontmapping.xml
    Pls mark correct or helpful if helps

  • Can we change the look and feel of the screen layout

    Dear All,
    I am new to ABAP WebDynpro, and would like to know the following with respect to ABAP WebDynpro :
    1. To what extent can we change the look and feel of the screen layout ?
    2. Is it possible to change the background color of the layout?
    3. Is it possible to change the color of, Buttons etc ?
    Any information / document/ link to explain this would be very helpful ..
    Thanks in advance,
    Aditi

    Hi,
    Psl check out these links.
    check out these webdynpro standard components in SE80 tcode -
    WDR_TEST_UI_ELEMENTS
    check out this link on webdynpro for ABAP-
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/0048413e466e24e10000000a155106/frameset.htm-WD for ABAP
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm -UI elements
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm-Button Properties
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm- For different Layouts
    Regards
    Lekha

  • How to change the look and feel for Heading of quick launch menu in project server 2010

    Hi
    can someone tell me how to change the look and feel of Header names in quick launch.
    I want the header to be displayed in Bold with Underline to it.
    could this be possible for just header in quick launch in project server 2010. 

    Hi Rohan
    It does not work this way. You have to use a content editor webpart.
    See references below that might help you starting with this customisation:
    Http://go4answers.webhost4life.com/Example/sharepoint-2010-quick-launch-look-feel-78379.aspx
    Http://m.sharepointpromag.com/sharepoint/four-ways-add-or-remove-quick-launch-menu-control
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Improving the look and feel of your application

    Deal all java programmers
    I have Frame at the moment that has a menu and displaying 2 images. The application looks very boring and dull at the moment. I am just wondering if there is a class,tool or function in java that can help improve the look and feel of your application and make it looks better and stand out.
    All Regards

    If you're using Java 5.0, you might be interested in Synth:
    http://www-106.ibm.com/developerworks/java/library/j-synth/

  • Give me Guidence on the Look and Feel

    Hi ,
    I created one custom Look and feel (CLAF) stylesheet(like., font color, types are changed) for my project requirements.
    Everything is working fine.but the problem is under Footer, global links are not visible and also no space between the copyright and Privacy statement. how i will resolve this problem. please help me on this.
    Regards,
    Chandra.

    Chandra,
    Have you used the "Customizing Look and Feel Administrator Responsibility" to create the new look and feel.
    That has some bugs.
    If you have followed the standard way of doing it, you can log a SR with support and ask.
    Please refer the following notes,
    Note 412718.1 - How To Change The Colour And Fonts Size In 11.5.10.2 Version
    Note 566578.1 - Change the look-and-feel of Oracle Applications Using
    CLAF(UI)
    This might help.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • SSHR reskin AKA 'How to Use Adobe Flash to Transform the Look and Feel...

    There was a presentation at the OHUG 2011 Conference titled 'How to Use Adobe Flash to Transform the Look and Feel of Oracle HR Self Service'. It presented a method of 're-skinning' SSHR to present a different UI to the user.
    Looking for anyone out there that has attempted to apply this to their Oracle HRSS pages. I know this company has developed (is developing?) a product based on this approach. I want to see if anyone has done it on their own and would be willing to share some details.
    Follow-up question. Has anyone availed themselves of the bespoke UI Development based on this approach from Applaud Solutions (as mentioned on their website), and care to comment on your experience?

    Any update on this please? Even we are looking for some pointers in this area.

  • Help us improve the look and feel of our community

    The BTCare Community Team needs your help!
    We want to improve the layout of the forum and would like to get your thoughts and feedback.
    Please complete this short questionnaire (it's very short, promise) to share your ideas on how we can improve the look and feel of our community.
    Thanks,
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

    BinaryBurnout wrote:
    I am curious how I might go about implementing some of these other L&F's. Every time I try to use them like the following...
    UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceRavenGraphiteGlassLookAndFeel");I keep getting a java.lang.ClassNotFoundException: org.jvnet.substance.skin.SubstanceRavenGraphiteGlassLookAndFeel error. How might I go about fixing this?Make sure the according classes/ jars are on the classpath.
    -Puce

  • Edit templates and change the look and feel of apex UI

    Hi Friends,
    I am trying to change the look and feel of apex pages(change the alignment,color etc) and try to edit the template
    of apex pages. Please give me links or tutorials that helps to accomplish this,
    Thanks,
    Tj

    Hello Tj,
    You can spend some time on how to create your own Template, but it comes down to design your site in html and then break it into pieces and change the Templates in APEX with that html.
    In that html you use tags e.g. #BOX_BODY# to tell APEX where the forms and reports need to come.
    In the doc there are some explanations too: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#BABBFHJA
    I think the best method is to just try it. Sure we give a course on that too, so it's up to you if you need training on that or the doc/your tries are sufficient or not.
    Once you know how things work you can do pretty much everything.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/

  • HT4623 I have just updated to ios7 on my iphone and don't like the look and feel of this update. Where are all the colors and texture of all the older isos, all those white background colors,yuk. Is a way to go back to the ios6

    I have just updated to ios7 on my iphone and don't like the look and feel of this update. Where are all the colors and texture of all the older isos, all those white background colors,yuk. Is a way to go back to the ios6

    "Unlike".  iOS 7 doesnt display well on my 4S. iOS 6.1.3 should still be supported for older hardware.  I think I shall me moving to Samsung Galaxy now.  Was really hoping hte new iphone would get a bit larger.

  • I just paid the $9,99 a month to have access to Photoshop and lightroom.  I am having trouble installing the programs and when I installed on Photoshop it said "trial"- this isn't suppose to be a trial but  a resource I pay for monthly for a year right?

    I just paid the $9,99 a month to have access to Photoshop and lightroom.  I am having trouble installing the programs and when I installed on Photoshop it said "trial"- this isn't suppose to be a trial but  a resource I pay for monthly for a year right?

    What turns the trial into the live software is signing in. If you sign in with the Adobe ID that has the subscription, the trial becomes live. First check your account on Adobe.com to make sure that the subscription is live.

  • Customize the look and feel through CLAF

    Hi...
    anyone has a detailed document about Customize the look and feel through CLAF
    if you just can give me a link
    thanks

    Ckeck out in OAF Personalization guide CLAF section under "Personalizing OA Framework Applications"

Maybe you are looking for

  • Error while generating a flat file from oracle database

    i have imported three knowledge modules for the interafce. LKM SQL to SQL IKM SQL to FILE Append CKM oracle I have tried executing the interface in following ways 1. checked the staging area different from target and choosed SUNOPSIS_MEMORY_ENGINE. t

  • Mail not showing up in Mac mail and iphone (Sky email UK)

    Hi, This relates to a post from yesterday which I thought was solved, if only- ! If I check my mail on iphone it doesn't show up later in Mac mail. I have 5 accounts set up. 3 work fine, 2 don't. My Sky email account and a domain account that is set

  • Something's wrong with my N82

    hi guys,im using N82... and i realized that my media player is not well functioning... firstly, everytime i added songs into it, after a few days, those songs will disappear from my media player, but still in my memory card... also, the 'Refresh' see

  • Prompt from another program is opening in Firefox

    When using Crystal Reports v.11 the query prompts for an input. This prompt is opening in Firefox. It is like the file extension is owned by Firefox.

  • Slideshow with linked images

    Hi, I read on a post from about a year ago that someone else was having problems getting the images in his slide show to be linked to other web sites or other pages. The solution for the linking was the following onclick javascript code: <img src="pi