public class SwingUtilities3 extends Object
public static JWindow createSplashScreen(Component splash, boolean closeOnClick, long timeOut)
public static JWindow createSplashScreen(String imageResource, boolean closeOnClick, long timeout)
public static void expandAll(JTree tree)
public static void collapseAll(JTree tree)
public static String getDefaultNativeOpenFileCommand()
public static Process openFile(File file) throws IOException
IOExceptionpublic static Process openFile(File file, String cmd) throws IOException
IOExceptionpublic static Process openURL(URL url) throws IOException
IOExceptionpublic static Process openURL(URL url, String cmd) throws IOException
IOExceptionpublic static void applyOrientation(Component c)
public static boolean isAncestorDialog(Component component)
public static boolean isAncestorFrame(Component component)
public static double getSplitPaneDividerLocationQuotient(JSplitPane p)
public static Object getAncestorByProperty(String prop, Class type, Component comp)
public static String getModifiersText(int modifiers)
public static void invokeAndWait(Runnable doRun)
public static void invokeLater(Runnable doRun)
public static void addTableClickListener(JTable tab, JTableClickListener listener)
public static void setTableColumnWidthPercent(JTable tab, double... weigths)
public static JTableHelper createIndexedTable(TableModel model)
public static void addFileDropListener(Component c, FileDropListener listener)
public static void addFileDropListener(Component c, FileDropListener listener, PrintStream out)
public static void iconifyFrames(JDesktopPane desk)
public static void deiconifyFrames(JDesktopPane desk)
public static void closeFrames(JDesktopPane desk)
public static void tileFrames(JDesktopPane desk)
public static boolean isShowPopupEvent(MouseEvent e)
public static void showPopup(Component invoker, Point point, JPopupMenu popup)
public static Point getPreferredPopupLocation(Point point, JPopupMenu popup)
public static GraphicsDevice getGraphicsDeviceAt(Point pos)
public static void addEscapeBindings(JDialog dialog)
Copyright © 2022 vpc open source initiative. All rights reserved.