|
From: Johannes S. (JIRA) <no...@sp...> - 2008-01-17 12:56:28
|
TabbedDialogPage doesn't paint if used with JideTabbedPane
----------------------------------------------------------
Key: RCP-524
URL: http://jira.springframework.org/browse/RCP-524
Project: Spring Framework Rich Client Project
Issue Type: Bug
Affects Versions: 1.0.0
Environment: Linux, Java 1.6, Jide Common:
<groupId>com.jidesoft</groupId>
<artifactId>jide-oss</artifactId>
<version>2.2.1.08</version>
Reporter: Johannes Schneider
Using the following component factory will result in visual problems when used within a TabbedDialogPage:
public class JideComponentFactory extends DefaultComponentFactory {
@Override
public JTabbedPane createTabbedPane() {
// return super.createTabbedPane();
JideTabbedPane tabbedPane = new JideTabbedPane();
tabbedPane.setBoldActiveTab( true );
tabbedPane.setHideOneTab( true );
return tabbedPane;
}
}
The border around the JTabbedPane is not drawn. This happens with different look and feels (JGoodies, Metal, GTK). The JideTabbedPane works as expected when used alone.
I think it might be related with org.springframework.richclient.dialog.control.ExtTabbedPane.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Johannes S. (JIRA) <no...@sp...> - 2008-01-17 12:58:25
|
[ http://jira.springframework.org/browse/RCP-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johannes Schneider updated RCP-524:
-----------------------------------
Attachment: person.png
The border around the JideTabbedPane is not drawn.
> TabbedDialogPage doesn't paint if used with JideTabbedPane
> ----------------------------------------------------------
>
> Key: RCP-524
> URL: http://jira.springframework.org/browse/RCP-524
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: Linux, Java 1.6, Jide Common:
> <groupId>com.jidesoft</groupId>
> <artifactId>jide-oss</artifactId>
> <version>2.2.1.08</version>
> Reporter: Johannes Schneider
> Attachments: person.png, person_correct.png
>
>
> Using the following component factory will result in visual problems when used within a TabbedDialogPage:
> public class JideComponentFactory extends DefaultComponentFactory {
> @Override
> public JTabbedPane createTabbedPane() {
> // return super.createTabbedPane();
> JideTabbedPane tabbedPane = new JideTabbedPane();
> tabbedPane.setBoldActiveTab( true );
> tabbedPane.setHideOneTab( true );
> return tabbedPane;
> }
> }
> The border around the JTabbedPane is not drawn. This happens with different look and feels (JGoodies, Metal, GTK). The JideTabbedPane works as expected when used alone.
> I think it might be related with org.springframework.richclient.dialog.control.ExtTabbedPane.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Johannes S. (JIRA) <no...@sp...> - 2008-01-17 12:58:30
|
[ http://jira.springframework.org/browse/RCP-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johannes Schneider updated RCP-524:
-----------------------------------
Attachment: person_correct.png
The same form with a JTabbedPane: The border is drawn as expected.
> TabbedDialogPage doesn't paint if used with JideTabbedPane
> ----------------------------------------------------------
>
> Key: RCP-524
> URL: http://jira.springframework.org/browse/RCP-524
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: Linux, Java 1.6, Jide Common:
> <groupId>com.jidesoft</groupId>
> <artifactId>jide-oss</artifactId>
> <version>2.2.1.08</version>
> Reporter: Johannes Schneider
> Attachments: person.png, person_correct.png
>
>
> Using the following component factory will result in visual problems when used within a TabbedDialogPage:
> public class JideComponentFactory extends DefaultComponentFactory {
> @Override
> public JTabbedPane createTabbedPane() {
> // return super.createTabbedPane();
> JideTabbedPane tabbedPane = new JideTabbedPane();
> tabbedPane.setBoldActiveTab( true );
> tabbedPane.setHideOneTab( true );
> return tabbedPane;
> }
> }
> The border around the JTabbedPane is not drawn. This happens with different look and feels (JGoodies, Metal, GTK). The JideTabbedPane works as expected when used alone.
> I think it might be related with org.springframework.richclient.dialog.control.ExtTabbedPane.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Peter De B. (JIRA) <no...@sp...> - 2008-01-21 12:41:10
|
[ http://jira.springframework.org/browse/RCP-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29213 ]
Peter De Bruycker commented on RCP-524:
---------------------------------------
The problem is not spring-rich related, but lnf related.
I created the following test program:
if the system lnf is used (in my case the windows lnf), the border is shown.
if I use another lnf (MetalLookAndFeel and Plastic3DLookAndFeel), the border is not shown.
<code>
public class TestJide implements Runnable {
public static void main(String[] args) throws ClassNotFoundException, InstantiationException,
IllegalAccessException, UnsupportedLookAndFeelException {
// UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
SwingUtilities.invokeLater(new TestJide());
}
public void run() {
JFrame frame = new JFrame("test");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JideTabbedPane tabbedPane = new JideTabbedPane();
tabbedPane.addTab("test0", new JLabel("test0"));
tabbedPane.addTab("test1", new JLabel("test1"));
tabbedPane.addTab("test2", new JLabel("test2"));
tabbedPane.addTab("test3", new JLabel("test3"));
JPanel panel = new JPanel(new BorderLayout());
panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
panel.add(tabbedPane);
frame.add(panel);
frame.pack();
frame.setVisible(true);
}
}
</code>
> TabbedDialogPage doesn't paint if used with JideTabbedPane
> ----------------------------------------------------------
>
> Key: RCP-524
> URL: http://jira.springframework.org/browse/RCP-524
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: Linux, Java 1.6, Jide Common:
> <groupId>com.jidesoft</groupId>
> <artifactId>jide-oss</artifactId>
> <version>2.2.1.08</version>
> Reporter: Johannes Schneider
> Attachments: person.png, person_correct.png
>
>
> Using the following component factory will result in visual problems when used within a TabbedDialogPage:
> public class JideComponentFactory extends DefaultComponentFactory {
> @Override
> public JTabbedPane createTabbedPane() {
> // return super.createTabbedPane();
> JideTabbedPane tabbedPane = new JideTabbedPane();
> tabbedPane.setBoldActiveTab( true );
> tabbedPane.setHideOneTab( true );
> return tabbedPane;
> }
> }
> The border around the JTabbedPane is not drawn. This happens with different look and feels (JGoodies, Metal, GTK). The JideTabbedPane works as expected when used alone.
> I think it might be related with org.springframework.richclient.dialog.control.ExtTabbedPane.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Peter De B. (JIRA) <no...@sp...> - 2008-01-21 12:48:09
|
[ http://jira.springframework.org/browse/RCP-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker resolved RCP-524.
-----------------------------------
Assignee: Peter De Bruycker
Resolution: Won't Fix
> TabbedDialogPage doesn't paint if used with JideTabbedPane
> ----------------------------------------------------------
>
> Key: RCP-524
> URL: http://jira.springframework.org/browse/RCP-524
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: Linux, Java 1.6, Jide Common:
> <groupId>com.jidesoft</groupId>
> <artifactId>jide-oss</artifactId>
> <version>2.2.1.08</version>
> Reporter: Johannes Schneider
> Assignee: Peter De Bruycker
> Attachments: person.png, person_correct.png
>
>
> Using the following component factory will result in visual problems when used within a TabbedDialogPage:
> public class JideComponentFactory extends DefaultComponentFactory {
> @Override
> public JTabbedPane createTabbedPane() {
> // return super.createTabbedPane();
> JideTabbedPane tabbedPane = new JideTabbedPane();
> tabbedPane.setBoldActiveTab( true );
> tabbedPane.setHideOneTab( true );
> return tabbedPane;
> }
> }
> The border around the JTabbedPane is not drawn. This happens with different look and feels (JGoodies, Metal, GTK). The JideTabbedPane works as expected when used alone.
> I think it might be related with org.springframework.richclient.dialog.control.ExtTabbedPane.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Johannes S. (JIRA) <no...@sp...> - 2008-01-25 16:43:43
|
[ http://jira.springframework.org/browse/RCP-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_31240 ]
Johannes Schneider commented on RCP-524:
----------------------------------------
Workaround:
JideTabbedPane tabbedPane....
tabbedPane.setContentBorderInsets( new InsetsUIResource( 2, 2, 2, 2 ) );
> TabbedDialogPage doesn't paint if used with JideTabbedPane
> ----------------------------------------------------------
>
> Key: RCP-524
> URL: http://jira.springframework.org/browse/RCP-524
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: Linux, Java 1.6, Jide Common:
> <groupId>com.jidesoft</groupId>
> <artifactId>jide-oss</artifactId>
> <version>2.2.1.08</version>
> Reporter: Johannes Schneider
> Assignee: Peter De Bruycker
> Attachments: person.png, person_correct.png
>
>
> Using the following component factory will result in visual problems when used within a TabbedDialogPage:
> public class JideComponentFactory extends DefaultComponentFactory {
> @Override
> public JTabbedPane createTabbedPane() {
> // return super.createTabbedPane();
> JideTabbedPane tabbedPane = new JideTabbedPane();
> tabbedPane.setBoldActiveTab( true );
> tabbedPane.setHideOneTab( true );
> return tabbedPane;
> }
> }
> The border around the JTabbedPane is not drawn. This happens with different look and feels (JGoodies, Metal, GTK). The JideTabbedPane works as expected when used alone.
> I think it might be related with org.springframework.richclient.dialog.control.ExtTabbedPane.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|