Package com.skcraft.launcher.swing

Examples of com.skcraft.launcher.swing.LinedBoxPanel


    /**
     * Add components to the frame.
     */
    private void initComponents() {
        JButton pastebinButton = new JButton(_("console.uploadLog"));
        buttonsPanel = new LinedBoxPanel(true);

        buttonsPanel.setBorder(BorderFactory.createEmptyBorder(8, 8, 8, 8));
        buttonsPanel.addElement(pastebinButton);

        add(buttonsPanel, BorderLayout.NORTH);
View Full Code Here


    protected void initComponents() {
        killButton = new JButton(_("console.forceClose"));
        minimizeButton = new JButton(); // Text set later

        LinedBoxPanel buttonsPanel = getButtonsPanel();
        buttonsPanel.addGlue();
        buttonsPanel.addElement(killButton);
        buttonsPanel.addElement(minimizeButton);
       
        killButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                performKill();
View Full Code Here

TOP

Related Classes of com.skcraft.launcher.swing.LinedBoxPanel

Copyright © 2018 www.massapicom. 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.