Author |
Message |
27/03/2014 15:29:08
|
rspiller
Power User
Joined: 20/04/2012 07:37:01
Messages: 59
Offline
|
Hi,
in one of our Projects we are using a Tabbedpane.
The Content of the Tabbedpanetabs get validated. If a field is not successfully validated in a not focused tab, i want to show the user in which tab he should look. By highlighting the corresponding tabbedpanetab header. Example in attachement. So a bgpaintaddon like it is used in a tabbedlinecontainertab would be nice.
The reason we dont use tabbedlincontainer is the stacking ability, and no need for the extra dropdown.
greetz
Ruven
|
Filename |
tabpaneerror.png |
Download
|
Description |
Example of a Error in a Tabbedpanetab |
Filesize |
3 Kbytes
|
Downloaded: |
409 time(s) |
|
|
|
27/03/2014 15:33:23
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
this is quite (better: verrrry) difficult: in the TABBEDLINE we are the master of rendering (actually the TABBEDLINE is a container around buttons). Whereas the TABBEDPANE is a Swing component consisting out of inner parts which do not know anything about BGPAINT...
Maybe some image in front of the text could indicate the problem, too? THis is possible...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
27/03/2014 15:47:58
|
rspiller
Power User
Joined: 20/04/2012 07:37:01
Messages: 59
Offline
|
Hey,
some way to visually let the user know that something in this tap needs attention is fine.
Although changing the border and background would be quite nice. Since you can change tabstyle via styles, i thought there may be a chance to set some style for specific tabs.
greetz
Ruven
|
|
|
27/03/2014 18:16:20
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
the IMAGE is already available, so this should work... Could you give a try?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|