KJW
KJW

Reputation: 15251

how do I create a Java swing UI like this?

Below UI is something I'd like to aim for. But I have no idea, how they have the "skin" of the app. On my end, the Java application looks like it was made in 1990s. I want to change a look to a more modern style.

What components are they using possibly here? JSplitpane for one. but I'm not sure how they created that "Dokument/Vorschau" tabs.

enter image description here

Upvotes: 0

Views: 323

Answers (3)

Tedil
Tedil

Reputation: 1933

If you really want to change the complete look-and-feel of your application from scratch, you should take a look at Synth L'n'F. You can define style and appearance of components and bind them to components which match certain criteria.

(My opinion on that matter: heavily themed apps usually look and feel out-of-the-place and only make it harder to use the app, so I'd actually try to avoid themeing)

Upvotes: 0

user unknown
user unknown

Reputation: 36229

Try a javax.swing.JTabbedPane.

Upvotes: 0

jzd
jzd

Reputation: 23629

First using a look and feel like Nimbus, can easily change the look of your application to a have a more modern feel.

Second, you will need to customize the font, color, borders, node icons, etc. of each component type to achieve a non-standard look. Some of these can be changed with updates to the UIDefaults of the look and feel but many will be made by calling methods on the specific instance of the component you are dealing with.

Upvotes: 3

Related Questions