Experimental Mac build code.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@4919 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-08-15 00:31:26 +00:00
committed by derek
parent 0f54c5f3b7
commit 235637a542
2 changed files with 7 additions and 3 deletions

View File

@ -87,11 +87,14 @@ public class SparkTab extends TabPanel {
textLabel.setFont(defaultFont);
}
invalidate();
validateTree();
invalidate();
validate();
repaint();
textLabel.invalidate();
textLabel.validate();
textLabel.repaint();
}
public Font getDefaultFont() {

View File

@ -409,9 +409,10 @@ public class SparkTabbedPane extends JPanel implements MouseListener {
CardLayout cl = (CardLayout)mainPanel.getLayout();
cl.show(mainPanel, tab.getActualText());
tab.setBoldWhenActive(isActiveButtonBold());
tab.setSelected(true);
deselectAllTabsExcept(tab);
tab.setSelected(true);
fireTabSelected(tab, getSelectedComponent(), getIndex(tab));
}