mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add test
This commit is contained in:
@@ -24,6 +24,6 @@ public class DesktopUtilTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void browseTest() {
|
||||
DesktopUtil.browse("https://www.hutool.club");
|
||||
DesktopUtil.browse("https://hutool.cn");
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,17 @@
|
||||
package org.dromara.hutool.swing;
|
||||
|
||||
import com.formdev.flatlaf.FlatDarculaLaf;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
|
||||
public class FlatLafTest {
|
||||
public static void main(String[] args) {
|
||||
FlatDarculaLaf.setup();
|
||||
final JFrame frame = new JFrame("我的窗口");
|
||||
frame.setSize(400, 300);
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
// 设置窗口可见
|
||||
frame.setVisible(true);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user