public static void initLookAndFeel() { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch (ClassNotFoundException e) { throw new RuntimeException(e); } catch (InstantiationException e) { throw new RuntimeException(e); } catch (IllegalAccessException e) { throw new RuntimeException(e); } catch (UnsupportedLookAndFeelException e) { throw new RuntimeException(e); } }
// Main method public static void main(String[] args) { int qcom_qix = 0; try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch (Exception e) { e.printStackTrace(); } if (args.length > 0) { System.out.println("Queue : " + args[0]); try { qcom_qix = Integer.parseInt(args[0]); } catch (NumberFormatException e) { System.out.println("Syntax error in que number"); qcom_qix = 0; } } // new Gdh( (Object) null); new JopSpider(qcom_qix); }