Browse Source

Urm, the issue is now fixed? Fixes issue 4226

Change-Id: I29ab7836d242d1e9121649aadb6fc2954f408eb4
Reviewed-on: http://gerrit.dmdirc.com/1404
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.4
Greg Holmes 14 years ago
parent
commit
3bf2db322f

+ 0
- 8
src/com/dmdirc/addons/ui_swing/components/desktopPane/DMDircDesktopPane.java View File

@@ -131,7 +131,6 @@ public class DMDircDesktopPane extends JDesktopPane implements SwingWindowListen
131 131
         this.controller = controller;
132 132
         setBackground(new Color(238, 238, 238));
133 133
         setBorder(BorderFactory.createEtchedBorder());
134
-        setUI(new ProxyDesktopPaneUI(getUI(), this));
135 134
 
136 135
         nodes = new HashMap<Window, TreeViewNode>();
137 136
         model = new TreeViewModel(new TreeViewNode(null, null));
@@ -185,11 +184,6 @@ public class DMDircDesktopPane extends JDesktopPane implements SwingWindowListen
185 184
      * @param index Index for insertion
186 185
      */
187 186
     public void add(final JComponent comp, final int index) {
188
-        UIUtilities.invokeLater(new Runnable() {
189
-
190
-            /** {@inheritDoc} */
191
-            @Override
192
-            public void run() {
193 187
                 addImpl(comp, null, index);
194 188
 
195 189
                 // Make sure it'll fit with our offsets
@@ -206,8 +200,6 @@ public class DMDircDesktopPane extends JDesktopPane implements SwingWindowListen
206 200
                 // Increase the offsets
207 201
                 xOffset += FRAME_OPENING_OFFSET;
208 202
                 yOffset += FRAME_OPENING_OFFSET;
209
-            }
210
-        });
211 203
     }
212 204
 
213 205
     /**

Loading…
Cancel
Save