JMenuItem and JTextField doesn't look right after upgrading to Java 8

I just upgraded to JDK 8u25
I have a legacy Swing application, which makes use of JMenuItem and JTextField
I realize, after upgrading, there is a bolder grey vertical border at the left side of JMenuItem and JTextField
JMenuItem
JTextField
This only happen, if I were using look n feel com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Before that, I never have such problem. Anyone know is there any workaround for such problem?
Here's the code example to demonstrate the problem.
package javaapplication5;
* @author yccheok
public class NewJFrame extends javax.swing.JFrame {
     * Creates new form NewJFrame
    public NewJFrame() {
        initComponents();
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {
        jTextField1 = new javax.swing.JTextField();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jMenu2 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        jMenu1.setText("File");
        jMenuBar1.add(jMenu1);
        jMenu2.setText("Edit");
        jMenuItem1.setText("jMenuItem1");
        jMenu2.add(jMenuItem1);
        jMenuBar1.add(jMenu2);
        setJMenuBar(jMenuBar1);
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(21, 21, 21)
                .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(232, Short.MAX_VALUE))
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(230, Short.MAX_VALUE))
        pack();
    }// </editor-fold>                       
     * @param args the command line arguments
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Windows".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        //</editor-fold>
        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new NewJFrame().setVisible(true);
    // Variables declaration - do not modify                    
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JTextField jTextField1;
    // End of variables declaration                  
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        //</editor-fold>
        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new NewJFrame().setVisible(true);
    // Variables declaration - do not modify                    
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JTextField jTextField1;
    // End of variables declaration                  

The site looks OK -- actually quite impressive for what appears to be a from-scratch design.
In Opera 10 under Snow Leopard 10.6.1, the design doesn't start to explode until the horizontally scrolling marquee comes across. I would strongly recommend just removing that marquee; it is an extremely outdated element of web design. If you do that, the design shouldn't blow up on you in other browsers.

Similar Messages

  • Site doesn't look right after being published

    I'm a website newbie, and I think I have bitten off more than I can chew. Designed my site, published it, used websafe fonts all the links worked. Look great in Safari on my computer. Then I tried to check it out on the PC with IE... yikes!! So I did some research and saw that's a common IE problem, so tried to view it in Firefox on the PC, looked worse. So I downloaded Safari for the PC... same problem, it looked terrible- text boxes were shifted, flash was coming to the front and covering links, you could see the bounding boxes on some of the pics. eeeeekkkk.
    here's the URL if anyone wants a good laugh!!
    www.rrcaninesuites.com
    Thanks!
    - Kath

    The site looks OK -- actually quite impressive for what appears to be a from-scratch design.
    In Opera 10 under Snow Leopard 10.6.1, the design doesn't start to explode until the horizontally scrolling marquee comes across. I would strongly recommend just removing that marquee; it is an extremely outdated element of web design. If you do that, the design shouldn't blow up on you in other browsers.

  • I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it

    I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it looks OK.  The photo looks incorrect in other software such as photo books.
    Looking at the same photo before flattening, what is being shown is only the top layer.
    How do I correct this?

    STEVEN1A wrote:
    I have manipulated a photo using layers etc and then flattened it and saved it under a new name.  When I use 'Preview' (mac) to view the finished photo it doesn't look right.  It's as the layers have not flattened correctly.  When viewed in Elements 12 it looks OK.  The photo looks incorrect in other software such as photo books.
    Looking at the same photo before flattening, what is being shown is only the top layer.
    How do I correct this?
    The top layer is indeed the one that is visible, unless there is/are area(s) of translucency on that layer, so that you can visualize a portion of the subjacent layer.
      the finished photo it doesn't look right.  It's as the layers have not flattened correctly. 
    Are your settings targeted to have the printer manage colors, or, to have PSE manage colors?

  • Hi, i'm trying to download the Lightroom 6 stand alone version and get the following message right after a click the checkout box: "The account was registered for a different country. Please sign out and sign in using an existing account for this country.

    Hi, i'm trying to download the Lightroom 6 stand alone version and get the following message right after a click the checkout box: "The account was registered for a different country. Please sign out and sign in using an existing account for this country." I'm in Namibia and tried to change my country from Africa to USA but still the same problem. TIA

    Hi Annen,
    Please refer the following forum thread.
    Trying to purchase trial period in different email address - error message "Error in Your Order The account was registered for a different country. Please sign out and sign in using an existing account for this country. Ok"
    Regards,
    Sumit Singh

  • Whenever I try to download an app, it always says "Cannot connect to iTunes Store", even though I am connected to wifi three bars. And sometimes it just goes blak and quits the app. Right after I downloaded iOS 6 this started to happen. Please help me.

    Whenever I try to download an app, it always says "Cannot connect to iTunes Store", even though I am connected to wifi three bars. And sometimes it just goes blak and quits the app. Right after I downloaded iOS 6 this started to happen. Please help me.

    See these previous discussions help.
    App Store Updates (but only Updates)...: Apple Support Communities
    Apps suddenly don't update: Apple Support Communities

  • My Dock icons looks garbled after upgrading to OS X Maverick.

    My Dock icons looks garbled after upgrading to OS X Maverick.Not all but most of them look like scattered dots instead of the icons, tried restarting multiple times still no use.
    I installed OS X Maverick last week and for a week it looked fine. I have restarted the OS for copule of times after upgrade. Now the Icons in the dock seem to be garbled.

    The dock preferences may be corrupted ...
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.dock.plist
    Click Go then move the com.apple.finder.plist file to the Trash
    Restart your Mac.

  • TS3367 facetime doesn't work well after upgrading to ios8. I need to make a call several times to connect.

    Facetime doesn't work well after upgrading to ios8.
    When I make a facetime call, it doesn't sound some times on the other side.
    When it rings on the other side and is answered, it says (connecting), but it is still ringing on my side and never connected.
    After that, I disconnect and make a second call, it sometimes connects, but not everytime.
    I need to call several times to connect. It is really hard to connect through facetime after upgrading to ios8.
    I purchased three iPad so far because of this good feature (facetime).
    Please fix this issue as soon as possible.
    Thanks.

    Hi,
    There are two easy fixes to this.
    One, you can set up Family Sharing, in which you can have two different iCloud Accounts, yet still share the same apps, music, media etc.
    Two, go to Settings and turn-off "Handoff". This can be found under the General page.
    Hope this helps!

  • I lost spelling and grammar check on my word after upgrading to yosemite

    I lost spelling and grammar check on my word after upgrading to yosemite

    Also search/ask in the forums run by the people who make that app.  Word does not use any Apple spelling or grammar stuff.
    http://answers.microsoft.com/en-us/mac/forum/macword

  • WiFi Breaking and getting slow in MacBook Pro after upgrading to OS X Yosemite

    WiFi Breaking and getting slow in MacBook Pro after upgrading to OS X Yosemite

    WiFi Breaking and getting slow in MacBook Pro after upgrading to OS X Yosemite

  • Bookmarks and reading lists don't work after upgrading to ios6 on ipad

    Bookmarks and reading lists don't work after upgrading to ios6 on ipad

    Your bookmarks file may be corrupt. Navigate to /[UserName]/AppData/Local/Mozilla/Firefox/Profiles/[profile_name]. Either rename places.sqlite to places.sqlite.corrupt (or whatever) in case this isn't the problem, or delete places.sqlite. Start/Restart Firefox. The icons for sites that have a favicon should return after you visit each site.

  • ASDM issues after upgrade to JAVA 8 on Macbook

    Hi all, I have a MacBook running 10.10.2, and just upgraded to Java 8 build 40. Wouldn't you know ASDM has now started to "freeze" after I login to the appliance and ASDM is trying to parse the configuration. This has happened when I hit an ASA 5545 running 9.3.1 code (ASDM 7.3.1) but it does NOT happen when I hit an ASA5520 running older 9.1.5 code (ASDM 7.3.1). Odd. Anyone else seeing this? Sure enough when I drop Java back to 7 build 75, ASDM runs fine again when I login to those appliances.
    Just as a try, I did upgrade ASDM to 7.3.3 and bumped up the heap size per the release notes, but that did nothing to resolve this issue. ASDM still freezes as its trying to parse the configuration (about 2-4 seconds after I login).
    Any help or suggestions would be appreciated.
    Thank you,
    Jeff

    Looks like you are hitting the following bug
    CSCut04399
    ASDM hangs on MAC after upgrade to Java 8
    Workaround:
    none

  • Website created in Dreamweaver CS4 doesn't look right in CS6

    I used to have an old version of Dreamweaver (CS4 I think) and my laptop got taken out by a lightening strike.  I have had to purchase Dreamweaver CS6 and I have loaded up my website (files recovered from hard drive) but the pages don't look right - wrong colours, wrong font, text missing, buttons not displayed properly etc.  any help gratefully received!

    Are you sure site files on your hard drive were not damaged by the electrical surge?
    Can you GET replacement files from your remote server?
    Nancy O.

  • Setting colors so JTextField doesn't look like its there

    I have changed the background color of both my panel and JTextField to black and changed the foreground of my JTextField to a diffent color. The desired affect is that the text will appear without seeing the field but there is a white line around the field that will not disappear. Any ideas on how to get rid of the white outline?

    Possibly setOpaque(false), but it sounds to me like you want a JLabel.
    Cheers,
    Radish21

  • Font in JTextArea and JTextPane doesn't look same

    hi
    i have a porblem with displaying characters with Text Component:
    here example :
    JTextPane Mypane=new JTextPane();
    Mypane.setFont(new Font("Courrier",0,13);
    JTextArea MyText=new JTextArea();
    MyText.setFont(new Font("Courrier",0,13);
    but the characters doesn't look same !
    can any one know why ?
    Thanks

    Export to Photoshop? What exactly are you doing?
    Bob

  • AdressBook doesn't dipslay contacts after upgrading to Leopard

    hi, after upgrading yesterday to 10.5.2 (from 10.4.9 i have been using) i found that the address book app doesn't display any of my contacts diplaying a window completely blank... the strange thing is that my contacts appear to be in place in the ~/Library/Application Support/AddressBook/ folder, and when typing an e-mail address on the Mail app i get results...
    but still nothing on AddressBook. What can I do?

    It's working now! don't know what i did though

Maybe you are looking for

  • Data retrieve from tables in two diff schema in same db

    hi, i have one db and name is HWRDB, in this i have two schema PRLHEEP and PRLCFFP. in PRLHEEP my table is NAMAS, and in PRLCFFP also table's name is NAMAS. i want if :unit = 'H' then -- connect to PRLHEEP select data into some items from NAMAS eslif

  • Parent-Child in XML Publisher

    Hi, I am working on a report which requires a parent child relationship. There are two tables STG1 and STG2 STG1 STG2 30012 1 2 30040 1 For each value in STG1 there might be more than one value in STG2. After printing the 1st valuesin STG1(30012), th

  • IPhone causing iTunes crash

    I'm connecting my iPhone to the computer I am using and it has never had problems before but suddenly it is. It's been synced with it several times and the settings have not been changed. The computer reads that it's there because the iPhone camera w

  • Comment éviter d'abimer la batterie de mon mac ?

    Bonjour, je viens de m'apercevoir a l'aide l'application battery health que ma batterie était abimée et je ne sais pas comment faire pour éviter de l'abimer encore. merci d'avance

  • Passing Dashboard Prompt values to different dashboard.

    Hi All, I want to pass the selected prompt values from my current dashboard to a different dashboard. I am using a navigate function to go to the other dashboard. The scenario is: I am using a column formulae to navigate to the different dashboard.Th