Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PreferencesTabBar does not look unified in Mac OS X 10.5/6 running with Java 6 or using JDialog #162

Open
GoogleCodeExporter opened this issue May 4, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
final PreferencesTabBar tabBar = new PreferencesTabBar();
tabBar.addTab("General",null,null);
tabBar.addTab("Proofing",null,null);
tabBar.addTab("Saving",null,null);
final JComponent tabBarCom = tabBar.getComponent();

1. For JFrame:
final JFrame mainFrm = new JFrame();
tabBar.installWindowDraggerOnWindow(mainFrm);
MacUtils.makeWindowLeopardStyle(mainFrm.getRootPane());
mainFrm.getContentPane().add(tabBarCom);

2. For JDialog:
final JDialog mainDlg = new JDialog();
tabBar.installWindowDraggerOnWindow(mainDlg);
MacUtils.makeWindowLeopardStyle(mainDlg.getRootPane());
mainDlg.getContentPane().add(tabBarCom);

What is the expected output? What do you see instead?
Expected result:
   The UI should appear like the below image in any environments listed below.
  see: safari_pref_dialog.PNG

Acutally result:
 In 

What version of the product are you using? On what operating system?
Environment 1:
   Leopard (Mac OS X 10.5)
   Java 1.5.0_20

Environment 2:
   Leopard (Mac OS X 10.5)
   Java 1.6.0_15

Environment 3:
   Snow Leopard (Mac OS X 10.6)
   Java 1.5.0_20

Environment 4:
   Snow Leopard (Mac OS X 10.6)
   Java 1.6.0_15

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Apr 2010 at 5:06

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant