mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-10-29 19:57:28 +00:00
Small UI tweaks to Fastpath.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@4961 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
21d564cb3b
commit
d538849af2
@ -317,12 +317,9 @@ public class SparkTabbedPane extends JPanel implements MouseListener {
|
||||
}
|
||||
|
||||
public void removeComponent(Component comp) {
|
||||
Component[] comps = mainPanel.getComponents();
|
||||
for (int i = 0; i < comps.length; i++) {
|
||||
Component c = comps[i];
|
||||
if (c == comp) {
|
||||
|
||||
}
|
||||
int index = indexOfComponent(comp);
|
||||
if (index != -1) {
|
||||
removeTabAt(index);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user