@Test public void testMenu() { Debug.constructMenu(new javax.swing.JMenu()); try { xstore.save(); } catch (java.io.IOException e) { assert (false); } }
public static void constructMenu(JMenu topMenu) { if (debug) System.out.println("Debug.constructMenu "); if (topMenu.getItemCount() > 0) topMenu.removeAll(); try { addToMenu(topMenu, store); } catch (BackingStoreException e) { } topMenu.revalidate(); }
Debug { public static void constructMenu(JMenu topMenu) { if (debug) System.out.println("Debug.constructMenu "); if (topMenu.getItemCount() > 0) topMenu.removeAll(); try { addToMenu(topMenu, store); } catch (BackingStoreException e) { } topMenu.revalidate(); } }
Debug { public static void constructMenu(JMenu topMenu) { if (debug) System.out.println("Debug.constructMenu "); if (topMenu.getItemCount() > 0) topMenu.removeAll(); try { addToMenu(topMenu, store); } catch (BackingStoreException e) { } topMenu.revalidate(); }  }
Debug { public static void constructMenu(JMenu topMenu) { if (debug) System.out.println("Debug.constructMenu "); if (topMenu.getItemCount() > 0) topMenu.removeAll(); try { addToMenu(topMenu, store); } catch (BackingStoreException e) { } topMenu.revalidate(); }  static void setStore(Preferences debugStore); static boolean isSet(String flagName); static void set(String flagName, boolean value); static void removeAll(); static void constructMenu(JMenu topMenu); }
Debug { public static void constructMenu(JMenu topMenu) { if (debug) System.out.println("Debug.constructMenu "); if (topMenu.getItemCount() > 0) topMenu.removeAll(); try { addToMenu(topMenu, store); } catch (BackingStoreException e) { } topMenu.revalidate(); }  static void setStore(Preferences debugStore); static boolean isSet(String flagName); static void set(String flagName, boolean value); static void removeAll(); static void constructMenu(JMenu topMenu);  }