Swing JTabbedPane look and feel

9 views
Skip to first unread message

shop.servic...@gmail.com

unread,
Jan 18, 2019, 11:48:36 AM1/18/19
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android, IOS

Is it possible to render a TAB as in Javax.swing.JTabbedPane?

Please see attached pic. (Note the horizontal spacing between tabs and the slightly rounded corners)

Thoughts?
SwingTabsPic.JPG

Shai Almog

unread,
Jan 19, 2019, 3:26:13 AM1/19/19
to CodenameOne Discussions
You can use 9-piece image borders for the background of Tab. Spacing is just a matter of setting the padding correctly.

shop.servic...@gmail.com

unread,
Jan 19, 2019, 8:48:11 AM1/19/19
to CodenameOne Discussions
Thanks
Reply all
Reply to author
Forward
0 new messages