/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* @test %W% %E%
@bug 6798062
@summary Memory Leak on using getFiles of FileSystemView
@author Pavel Porvatov
@run applet/manual=done bug6798062.html
*/
frame.setVisible(true);
}
public void init() {
add(initialize());
}
return new JLabel("The test is suitable only for Windows");
}
}
try {
} catch (FileNotFoundException e) {
}
slider.setPaintTicks(true);
slider.setPaintLabels(true);
slider.setSnapToTicks(true);
public void actionPerformed(ActionEvent e) {
setEnabledState(false);
}
});
btnStop.setEnabled(false);
public void actionPerformed(ActionEvent e) {
setEnabledState(true);
}
});
public void actionPerformed(ActionEvent e) {
}
});
setEnabledState(true);
return pnContent;
}
}
throw new RuntimeException(msg);
}
private final int delay;
try {
} catch (FileNotFoundException e) {
e.printStackTrace();
linkFolder = null;
}
this.link = linkFolder;
}
public void run() {
while (!isInterrupted()) {
try {
} catch (FileNotFoundException e) {
e.printStackTrace();
}
}
if (delay > 0) {
try {
} catch (InterruptedException e1) {
// The thread was interrupted
return;
}
}
}
}
}
}