Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beanshell/beanshell
/ haveSwing
Method
haveSwing
src/bsh/Capabilities.java:46–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
private
static
volatile boolean accessibility = false;
45
46
public
static
boolean haveSwing() {
47
// classExists caches info for us
48
return
classExists(
"javax.swing.JButton"
);
49
}
50
51
/**
52
If accessibility is enabled
Callers
1
main
Method · 0.95
Calls
1
classExists
Method · 0.95
Tested by
no test coverage detected