Examples of ListFrame


Examples of net.sf.jpluck.apps.jpluckx.ui.ListFrame

    }

    public void lostOwnership(Clipboard clipboard, Transferable contents) {
        clipboardOwner = false;
        for (int i = 0, n = listFrameList.size(); i < n; i++) {
            ListFrame listFrame = (ListFrame) listFrameList.get(i);
            listFrame.disablePasteAction();
        }
    }
View Full Code Here

Examples of net.sf.jpluck.apps.jpluckx.ui.ListFrame

        return newListFrame(new JXL());
    }

    public ListFrame newListFrame(JXL jxl) {
        for (Iterator it = listFrameList.iterator(); it.hasNext();) {
            ListFrame listFrame = (ListFrame) it.next();
            File file = listFrame.getJXL().getFile();
            if ((file != null) && file.equals(jxl.getFile())) {
                activeListFrame = listFrame;
                return listFrame;
            }
        }
        ListFrame listFrame = new ListFrame(jxl);
        listFrame.addWindowListener(activationListener);
        listFrameList.add(listFrame);
        ClientConfiguration.getDefault().restoreListFramePrefs(listFrame);
        if (splashScreen != null) {
            splashScreen.hide();
            splashScreen.dispose();
            splashScreen = null;
        }
        if (activeListFrame != null) {
            int x = activeListFrame.getX() + 30;
            int y = activeListFrame.getY() + 30;
            listFrame.setLocation(x, y);
        }
        activeListFrame = listFrame;
        return listFrame;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.