Search code examples
javaswinglook-and-feel

Is default Swing look and feel the same on all platforms?


I want to know if there will be font color, scrollbar or rounded corner changes when switching Java versions or platforms.

We are customizing with background images and stuff so it really does not look like any native platform. If we were not using our own so-called-look-and-feel, we would use the native-look-alike look and feel and this question would not arise.


Solution

  • How to find this on your own

    1) try it.
    2) type it on the internet

    answer to the best of my knowledge yes. I have a mac and a windows and they all look the same except for the top menue bar which is grey on my mac and blue on my windows.
    JFrame frame = new JFrame(""); this is the only part that looks different