// disable the focus manager so we can intercept the tab key
String versionString = System.getProperty("java.version", "");
int secondDecimal = versionString.substring(versionString.indexOf('.') + 1).indexOf('.');
// disable the focus manager so we can intercept the tab key
String versionString = System.getProperty("java.version", "");
int secondDecimal = versionString.substring(versionString.indexOf('.') + 1).indexOf('.');
double version = Double.parseDouble(versionString);
if (version >= 1.4) {
isJava14 = true;
try {
Toolkit t = java.awt.Toolkit.getDefaultToolkit();
double version = Double.parseDouble(versionString);
if (version >= 1.4) {
isJava14 = true;
try {
Toolkit t = java.awt.Toolkit.getDefaultToolkit();
m.invoke(t, new Object[] { Boolean.TRUE });
} catch (Exception e) {
Log.info(this, "Exception while trying to enable AWT Dynamic Layout");
m.invoke(t, new Object[] { Boolean.TRUE });
} catch (Exception e) {
Log.info(this, "Exception while trying to enable AWT Dynamic Layout");
- // TODO: Uncomment this once Scroll is implemented in the core
- //if(m.getScrollType() == MouseWheelEvent.WHEEL_UNIT_SCROLL) { Scroll(m.getUnitsToScroll()); }
+ if (m.getScrollType() == MouseWheelEvent.WHEEL_UNIT_SCROLL)
+ VScroll(m.getUnitsToScroll());