Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void setModules()
- {
- try
- {
- new Thread("Module Toggle Thread (StartUp)")
- {
- public void run()
- {
- int j;
- int i;
- for (Iterator localIterator = ModuleManager.activeModules.iterator(); localIterator.hasNext(); i < j)
- {
- Module m = (Module)localIterator.next();
- String[] arrayOfString;
- j = (arrayOfString = ModuleManager.this.readModules()).length;i = 0; continue;String module = arrayOfString[i];
- if (module.equalsIgnoreCase(m.getName()))
- {
- try
- {
- sleep(200L);
- }
- catch (InterruptedException localInterruptedException) {}
- m.toggleModule();
- }
- i++;
- }
- }
- }.start();
- }
- catch (Exception localException) {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement