Gtk+ look and feel looks nothing like Gtk+

But I guess it feels something like Gtk+. Oh well. I was hoping for something a little more useful.

Take a blue marker to the screen?
Some information will possibly get a better answer.

Similar Messages

  • 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.

  • Get rid of that "blue" look and feel which overrides GTK?

    Since Java 5 when you run on a GTK system (or a windows system if I remember correctly) you get a pale blue look and feel in Swing rather than one which looks like your usual operating system's L&F.
    Can that be turned off? :)
    Cheers,
    Chris

    This is weird. I use getSystemLookAndFeelClassName() to set the LaF. It works on my Mac at home and I get the typical OS X Aqua appearance, but on my Ubuntu Linux system at work I just get the Ocean default LaF you mention.
    I'm guessing Ubuntu have done some irritating things with the package because someone who maintains the java stuff at Ubuntu decided blue looks nice or something. I'll see if I can track this down to a problem with the JRE on my system, rather than my code.
    Thanks for the help :)

  • How to apply XP and GTK look and feel??

    hi..
    please tell me how can I apply XP and GTK look and Feel in my Swing applications??

    hi
    Please visit
    http://www.l2fprod.com/
    Ashish

  • [SOLVED] Java GTK look and feel

    I opened a thread recently about replacing the ugly swing buttons in Java applications. After successfully modifying my ~/.bashrc, all was well. However, these new changes were only present when run from a terminal. I assumed it was because my desktop was still running a bash session that hadn't loaded the new options yet, so I restarted.
    Symptom: Java apps launched from the GUI still have old swing buttons, but have the GTK look and feel when launched from a terminal.
    My .bashrc additions:
    # Java stuff
    export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
    I use SLiM for a graphical login experience. Could this be affecting it? I'm not sure what happens differently behind the scenes when using a login manager other than that CTRL+ALT+F7 brings me to my GUI when I use one (because all 6 TTYs are still TTYs).
    Last edited by 2mac (2014-01-02 20:51:35)

    I had a similar issue where .xinitrc wasn't working to set an environment variable. I put mine in ~/.config/openbox/environment and it worked. If you run openbox try that. If using a different window manager maybe try /etc/environment I am unsure of how slim functions though maybe there are config files for it. I think slim is on it's way out though (already lacks some compatibility with systemd; they may fix it though upstream I have no idea). But yeah try the environment file way and see if that does it (assuming you have tested your command from the shell and it works how you want).

  • Mac like Look and Feel

    Can I find Look and Feel with Mac Style for Windows? Is it really? I found one, but it is very slow (and has bugs).

    How you seen the same program being run under Win default LookAndFeel and under Mac one. If you happen to do you'll change your attitude :p
    Yes, I've seen both looks and feels.
    If I'm using a Windows box I expect applications to look and behave like Windows applications, and similarly for Mac. A large number of users of each system have no experience with the other and there's plently who, like me, are perfectly familiar with Windows but only partially familiar with Mac interfaces.
    Let's take an example, from the Quaqua L&F:
    http://javootoo.l2fprod.com/plaf/quaqua/quaqua_filechooser_panther.png
    If I had that appear in Windows I'd scream. I'd have to try and remember what the coloured blobs in the title bar mean, I'd have to figure out how that file chooser works (like I do every time I use Gimp with its GTK file chooser that seems totally unfriendly to me). All second nature to Mac users of course, but it just makes life really difficult for Windows users, and probably simply because some stupid software developer somewhere thought that coloured blobs "look way more cool than Windows stuff."
    :o)
    Rule of thumb is that you'd better have a good reason for using anything other than platform look and feel, because if you do so without great care then chances are you're making life a lot harder for your users if you do.

  • I want to restore the look and feel of Firefox 3.6 etc with large icons for last page next page reread and home page located off the toolbar in the upper left like 3.6

    I want 4.0 to look like 3.6 with large separate icons for last page, next page, reread current page and go to home page, in lieu of the little icons to the right of the
    default navigation toolbar. I tried setting up a separate toolbar but it never reappeared. There should be a way to just restore 3.6 look and feel. Otherwise I will go back to 3.6.

    You can make Firefox 4 look and behave more like Firefox 3.6, for details see http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6

  • 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 sure hope that the new imessenger doesn't look like the text messaging app, that would be a huge flop for apple. It has to look and feel like bbm or it will just suck.

    I sure hope that the new imessenger doesn't look like the current text messaging app, that would be a huge flop. I think I should look and feel like the bbm to make any kind of significant impact. Am I wrong?

    "iMessage in iOS 5 brings the functionality of iPhone messaging to all of your iOS devices―iPhone, iPad and iPod touch. Built right into the Messages app, iMessage allows you to easily send text messages, photos, videos or contact information to a person or a group on other iOS 5 devices over Wi-Fi or 3G. iMessages are automatically pushed to all your iOS 5 devices, making it easy to maintain one conversation across your iPhone, iPad and iPod touch. iMessage also features delivery and read receipts, typing indication and secure end-to-end encryption."
    That is from the Apple site. If all your friends have an iPhone, iPod Touch, or iPad you cang share with your friends, with is exactly like BlackBerry Messenger (BBM only works on BBs).
    And it does look just like the current message format. You can also find that at www.Apple.com

  • Configurable look and feel

    Hello Java masters,
    This is not question, but I just like to tell you about something I find today while answering other forum writers question...
    http://www.javadesktop.org/articles/synth/index.htmlHe lets you configure look and feels using configuration file, and "plug in" custom renderers (like gradient paint filling etc).
    He looks very powerful but I haven't read about him in the press - so thought I would (how do you say...) "give him a shout out".
    Yardedoo!

    Azureus uses a different graphical toolkit for Java (SWT I think its called) which can more easily take on the native look and feel of either GTK (Gnome's primary toolkit) or QT (KDE's toolkit) depending on whats running.
    Most Java apps just use the Swing GUI toolkit (Java's own), which only takes on the look and feel of GTK stuff... totally ignoring QT to fend for itself =\. I use gtk-qt-engine to get GTK apps to imitate KDE's appearance, not sure if Java's Swing is affected by that though.

  • Problem With ButtonUI in an Auxiliary Look and Feel

    This is my first post to one of these forums, so I hope everything works correctly.
    I have been trying to get an axiliary look and feel installed to do some minor tweaking to the default UI. In particular, I need it to work with Windows and/or Metal as the default UI. For the most part I let the installed default look and feel handle things with my code making some colors lighter, darker, etc. I also play with focus issues by adding FocusListeners to some components. I expect my code to work reasonably well no matter what the default look and feel is. It works well with Motif, Metal, and Windows, the only default look and feels I've tested with. What I'm going to post is a stripped down version of what I have been working on. This example makes gross changes to the JButton background and foreground colors in order to illustrate what I've encountered.
    I have three source code files. The first, Problem.java, creates a JFrame and adds five buttons to it. One button installs MyAuxLookAndFeel as an auxiliary look and feel using MyAuxButtonUI for the look and feel of JButtons. The next button removes that look and feel. The next button does nothing except print a line to System.out. The next button installs MyAuxLookAndFeel as an auxiliary look and feel using MyModButtonUI for the look and feel of JButtons. The last button removes that look and feel.
    The problem is, when I install the first auxiliary look and feel, buttons are no longer tabable. Also, they cannot be invoked by pressing the space button when they're in focus. When I remove the first auxiliary look and feel everything reverts to behaving normally. When I add the "Mod" version, button tabability is fine. The only difference is I've added the following code:
    if ( c.isFocusable() ) {
       c.setFocusable(true);
    }That strikes me as an odd piece of code to profoundly change the program behavior. Anyway, after adding and removing the "Mod" look and feel, the tababilty is forever fixed. That is, if I subsequently re-install the first look and feel, tababilty works just fine.
    The problem with using the space bar to select a focused button is more problematic. My class is not supposed to mess with the default look and feel which may or may not use the space bar to press the button with focus. When the commented code in MyModButtonUI is uncommented, things behave correctly. Even the statement
    button.getInputMap().remove( spaceKeyStroke );doesn't mess things up after the auxiliary look and feel is removed. So far I've tested this with JRE 1.4.2_06 under Windows 2000, JRE 1.4.2_10 under Windows XP, and JRE 1.5.0_06 under Windows XP and the behavior is the same.
    All of this leads me to two questions.
    1. Is my approach fundamentally flawed? I've extended TextUI and ScrollBarUI with no problems. This is the only problem I've encountered with ButtonUI. My real workaround for the space bar issue is better than the one I've supplied in the example, but it certainly is not guaranteed to work for any arbitrary default look and feel.
    2. Assuming I have no fundamental problems with my approach, it's possible I've found a real bug. I searched the bug database and couldn't find anything like this. Of course, this is the first time I've tried seasrching the database for a bug so my I'm doing it badly. Has this already been reported as a bug? Is there any reason I shouldn't report it?
    What follows is the source code for my example. It's in three files because the two ButtonUI classes must be public in order to work. Thanks for insight you can provide.
    Bill
    File Problem.java:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Problem extends JFrame {
       public boolean isAuxInstalled = false;
       public boolean isModInstalled = false;
       public LookAndFeel lookAndFeel = new MyAuxLookAndFeel();
       private static int ctr = 0;
       public static void main( String[] args ) {
          new Problem();
       public Problem() {
          this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setSize(250, 150);
          setTitle("Button Test");
          JButton install = new JButton("Install");
          JButton remove = new JButton("Remove");
          JButton doNothing = new JButton("Do Nothing");
          JButton installMod = new JButton("Install Mod");
          JButton removeMod = new JButton("Remove Mod");
          this.getContentPane().setLayout(new FlowLayout());
          this.getContentPane().add(install);
          this.getContentPane().add(remove);
          this.getContentPane().add(doNothing);
          this.getContentPane().add(installMod);
          this.getContentPane().add(removeMod);
          install.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( !isAuxInstalled ) {
                   isAuxInstalled = true;
                   UIManager.addAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          remove.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( isAuxInstalled ) {
                   isAuxInstalled = false;
                   UIManager.removeAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          doNothing.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                System.out.println( "Do nothing " + (++ctr) );
          installMod.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( !isModInstalled ) {
                   isModInstalled = true;
                   UIManager.addAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          removeMod.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( isModInstalled ) {
                   isModInstalled = false;
                   UIManager.removeAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          setVisible(true);
       class MyAuxLookAndFeel extends LookAndFeel {
          public String getName() {
             return "Button Test";
          public String getID() {
             return "Not well known";
          public String getDescription() {
             return "Button Test Look and Feel";
          public boolean isSupportedLookAndFeel() {
             return true;
          public boolean isNativeLookAndFeel() {
             return false;
          public UIDefaults getDefaults() {
             UIDefaults table = new MyDefaults();
             Object[] uiDefaults = {
                "ButtonUI", (isModInstalled ? "MyModButtonUI" : "MyAuxButtonUI"),
             table.putDefaults(uiDefaults);
             return table;
       class MyDefaults extends UIDefaults {
          protected void getUIError(String msg) {
    //         System.err.println("(Not) An annoying error message!");
    }File MyAuxButtonUI.java:
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.plaf.*;
    import javax.swing.plaf.multi.*;
    import javax.accessibility.*;
    public class MyAuxButtonUI extends ButtonUI {
       private Color background;
       private Color foreground;
       private ButtonUI ui = null;
       public static ComponentUI createUI( JComponent c ) {
          return new MyAuxButtonUI();
       public void installUI(JComponent c) {
          MultiButtonUI multiButtonUI = (MultiButtonUI) UIManager.getUI(c);
          this.ui = (ButtonUI) (multiButtonUI.getUIs()[0]);
          super.installUI( c );
          background = c.getBackground();
          foreground = c.getForeground();
          c.setBackground(Color.GREEN);
          c.setForeground(Color.RED);
       public void uninstallUI(JComponent c) {
          super.uninstallUI( c );
          c.setBackground(background);
          c.setForeground(foreground);
          this.ui = null;
       public void paint(Graphics g, JComponent c) {
          this.ui.paint( g, c );
       public void update(Graphics g, JComponent c) {
          this.ui.update( g, c );
       public Dimension getPreferredSize(JComponent c) {
          if ( this.ui == null ) {
             return super.getPreferredSize( c );
          return this.ui.getPreferredSize( c );
       public Dimension getMinimumSize(JComponent c) {
          if ( this.ui == null ) {
             return super.getMinimumSize( c );
          return this.ui.getMinimumSize( c );
       public Dimension getMaximumSize(JComponent c) {
          if ( this.ui == null ) {
             return super.getMaximumSize( c );
          return this.ui.getMaximumSize( c );
       public boolean contains(JComponent c, int x, int y) {
          if ( this.ui == null ) {
             return super.contains( c, x, y );
          return this.ui.contains( c, x, y );
       public int getAccessibleChildrenCount(JComponent c) {
          if ( this.ui == null ) {
             return super.getAccessibleChildrenCount( c );
          return this.ui.getAccessibleChildrenCount( c );
       public Accessible getAccessibleChild(JComponent c, int ii) {
          if ( this.ui == null ) {
             return super.getAccessibleChild( c, ii );
          return this.ui.getAccessibleChild( c, ii );
    }File MyModButtonUI.java:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.plaf.*;
    public class MyModButtonUI extends MyAuxButtonUI
       static KeyStroke spaceKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0 );
       public static ComponentUI createUI( JComponent c ) {
          return new MyModButtonUI();
       public void installUI(JComponent c) {
          super.installUI(c);
          c.setBackground(Color.CYAN);
          if ( c.isFocusable() ) {
             c.setFocusable(true);
    //      final JButton button = (JButton) c;
    //      button.getInputMap().put( spaceKeyStroke, "buttonexample.pressed" );
    //      button.getActionMap().put( "buttonexample.pressed", new AbstractAction() {
    //         public void actionPerformed(ActionEvent e) {
    //            button.doClick();
    //   public void uninstallUI(JComponent c) {
    //      super.uninstallUI(c);
    //      JButton button = (JButton) c;
    //      button.getInputMap().remove( spaceKeyStroke );
    //      button.getActionMap().remove( "buttonexample.pressed" );
    }

    here is the code used to change the current look and feel :
    try {
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
             catch (InstantiationException e)
                  System.out.println("Error occured  "+ e.toString());
             catch (ClassNotFoundException e)
                  System.out.println("Error occured  "+ e.toString());
             catch (UnsupportedLookAndFeelException e)
                  System.out.println("Error occured  "+ e.toString());
             catch (IllegalAccessException e)
                  System.out.println("Error occured in .. " + e.toString());
             Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
             Fenetre fen = new Fenetre();
             fen.setSize(dim.width, dim.height);
             fen.setResizable(false);
                 fen.setLocation(0, 0);
                  fen.setVisible(true);

  • Problem setting look and feel

    It seems like I'm not able to change the windows xp look and feel, I'm using this code to change it but nothing happens, the window comes out with windows LAF:
    " public static void main(String[] args)
    try {
    UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    } catch (Exception e) { System.out.println(e.getMessage()); }
    new Ventana();
    Maybe... Am I missing some code? or a specific class needs to be downloaded?
    I'd apreciate any help

    That was not the problem, but thank you...
    I finally noticed the problem, what I was trying to do was actually done by writting this:
    JComponent.setDefaultLookAndFeelDecorated(true);
    Sets the OceanTheme feel on, but I noticed that when you try to use it with a Jdialog and a JFileChooser you get some ugly colors. Orange/Brown with JDialogs and Green with JFileChoosers. Is this a bug or it's ment to do that?
    Does somebody know how to fix it?
    Thanks for your support

  • HELP !! XP look and feel ...

    how can i make my frame have an XP look and feel ??????
    please help me in details , cause i haven't done this look and feel thing before ??? thanks in advance ..

    You need to change to the windows LnF which is not the default. The
    following code will do it for you. Note that it will only work if your
    using Windows XP.
    * LookAndFeel.java
    public class LookAndFeel {
        public static final String MAC_CLASS = "com.sun.java.swing.plaf.mac.MacLookAndFeel";
        public static final String METAL_CLASS = "javax.swing.plaf.metal.MetalLookAndFeel";
        public static final String MOTIF_CLASS = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
        public static final String WINDOWS_CLASS = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
        public static final String GTK_CLASS = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
        public static final String KUNSTSTOFF_CLASS = "com.incors.plaf.kunststoff.KunststoffLookAndFeel";
        public static boolean updateLookAndFeel(String currentLookAndFeel, java.awt.Component parent) {
         try {
             javax.swing.UIManager.setLookAndFeel(currentLookAndFeel);
                if(parent != null) {
                    javax.swing.SwingUtilities.updateComponentTreeUI(parent);
         } catch(Exception ex) {
             System.out.println(ex);
                return false;
            return true;
    }To get it to work do the following:
        LookAndFeel.updateLookAndFeel(LookAndFeel.WINDOWS_CLASS, this);where this represents your JWindow or JFrame.
    Hope it helps.
    James.

  • Applet and Skin Look And Feel 0.3.1

    I have downloaded Skin Look And Feel 0.3.1.
    It is very good but I have some problems with applets.
    Can anyone help me with this?
    The exception stack trace is:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission debug.skinlf read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at com.l2fprod.gui.plaf.skin.SkinUtils.<clinit>(SkinUtils.java)
         at com.l2fprod.gui.plaf.skin.impl.gtk.GtkImage.getImage(GtkImage.java:109)
         at com.l2fprod.gui.plaf.skin.impl.gtk.GtkImage.getImage(GtkImage.java:94)
         at com.l2fprod.gui.plaf.skin.impl.gtk.GtkPersonality.<init>(GtkPersonality.java:95)
         at com.l2fprod.gui.plaf.skin.impl.gtk.GtkSkin.init(GtkSkin.java:142)
         at com.l2fprod.gui.plaf.skin.impl.gtk.GtkSkin.<init>(GtkSkin.java:134)
         at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadSkin(SkinLookAndFeel.java:644)
         at projectx.AppletX.init(AppletX.java:41)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thaks

    Hi,
    This will be fixed in the upcoming SkinLF release. you can check out the latest version from sourceforge.net/projects/skinlf (see Contribute section at www.L2FProd.com), it contains the fix.
    Next release will be available end of next week.
    Best,
    -fred

  • Migrating sapgui look and feel settings of sapgui to new notebook.

    Hi,
    We are migrating from XP to Vista and SAPGui 640 to 710. (new notebooks are assigned to the users)
    I copied saplogon.ini to the new notebook to preserve the links to the servers.
    Some users have customized the look and feel of their SAPGui.  How can I copy the settings of their SAPGui to the new notebook (like the visual design, color settings and font size that the user have set in their sapgui.)
    thanks,
    Roel

    Hello Roel,
    The windows vista version itself gives a new dimension to the look and feel. So I guess nothing must have been editted on SAPGUI screen.
    And more of SAP GUI 640 to 700 look and features are also different.
    Kindly request you to check with the user who has changed and got the looks as you found on his screen.
    If you are looking for the changed screen after SAP gui login, where the main screen appears.
    Then I would suggest, you go through thsi link below -
    Change SAPGUI initial login screen
    http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm
    Do let me know if this resolved your issue.
    Thank you.
    Regards,
    Manomeet Mohapatra
    Award points if helpful **

Maybe you are looking for

  • Exporting XML from PP CS6 to Resolve. Doesn't work no matter what we try!

    My colorist and I have been pulling our hair out trying to figure out how to get this project into Resolve. I am running the latest version of PP Cs6 on a Windows PC. Edited the feature in native R3D format, 4.5k, everything was smooth as silk. I pre

  • ITunes recognizes iPhone, but PC doesn't

    Since installing iPhone OS 3.0.1, my PC no longer recognizes my iPhone as a mobile device and I can't upload my photos. I am still able to charge my iPhone and sync with iTunes. Is this a bug in the new OS? If so, when will it be fixed? Is there anot

  • How to put computer to sleep or reset USB bus from Terminal?

    I'm using Missing Sync to connect a Windows Mobile PocketPC to my Mac for synchronizing data. Occasionally, as soon as I plug in the USB cable, the whole system gets hung. My mouse and keyboard don't work, but I can get into the system via SSH from a

  • Workflow:To trace with whom the workflow is pending

    Hi All, Is there any standard Tcode to find who are the approvers for a particular Workflow triggered? There is requirement to trace with whom the workflow is pending. Please suggest. Will appreaciate a quick reply. Thanks, Deb

  • Workflow Task Returned to Inbox

    Hi Team, We have a issue where a Workflow has been completed for a request and status is shown as 120 Completed but one of the task came back to user INBOX after 4 months ehich is in ready status. We have checked workflow log for that particuler task