void startScrolling(boolean up)
{
scrollThread = new ScrollThread(up);
- if (!Platform.isJS())
- {
- /*
- * Java - run in a new thread
- */
- scrollThread.start();
- }
- else
+ if (Platform.isJS())
{
/*
* for JalviewJS using Swing Timer
});
t.start();
}
+ else
+ /**
+ * Java only
+ *
+ * @j2sNative
+ */
+ {
+ scrollThread.start();
+ }
}
/**