Skip to content

Commit f1400bd

Browse files
committed
JSUtilI.setUIEnabled (not fully tested)
1 parent 54fed4a commit f1400bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sources/net.sf.j2s.java.core/src/swingjs/api/JSUtilI.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
import java.util.zip.ZipEntry;
1313
import java.util.zip.ZipInputStream;
1414

15+
import javax.swing.JComponent;
16+
1517
import swingjs.api.js.HTML5Applet;
1618

1719
public interface JSUtilI {
@@ -291,4 +293,6 @@ public interface JSUtilI {
291293

292294
void getURLBytesAsync(URL url, Function<byte[], Void> whenDone);
293295

296+
void setUIEnabled(JComponent jc, boolean enabled);
297+
294298
}

0 commit comments

Comments
 (0)