Package javax.swing.border

Examples of javax.swing.border.BevelBorder


            this.goButton = new JButton();
            this.goButton.setText("GO");
            this.goButton.setToolTipText("Increment the axisCurrentPosition with the step value");
            this.goButton.setFont(new java.awt.Font("Dialog", 1, 12));
            this.goButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            this.goButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent evt) {
                    jButtonIncActionPerformed(evt);
                }
View Full Code Here


            this.incButton = new JButton();
            this.incButton.setText("+");
            this.incButton.setToolTipText("Increment the axisCurrentPosition with the step value");
            this.incButton.setFont(new java.awt.Font("Dialog", 1, 18));
            this.incButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            this.incButton.setMaximumSize(new Dimension(200, 28));
            this.incButton.setMinimumSize(new Dimension(60, 28));
            this.incButton.setPreferredSize(new Dimension(60, 28));
            this.incButton.addActionListener(new ActionListener() {
                @Override
View Full Code Here

            this.backwardButton.setText("<<");
            this.backwardButton.setToolTipText("Do an Axis Backward");
            this.backwardButton.setPreferredSize(new Dimension(40, 20));
            this.backwardButton.setMinimumSize(new Dimension(40, 20));
            this.backwardButton.setMaximumSize(new Dimension(150, 20));
            this.backwardButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null,
                    null));
            this.backwardButton.addMouseListener(new MouseAdapter() {
                @Override
                public void mousePressed(MouseEvent evt) {
                    leftButtonMousePressed(evt);
View Full Code Here

            this.forwardButton.setToolTipText("Do an Axis Forward");
            this.forwardButton.setPreferredSize(new Dimension(40, 20));
            this.forwardButton.setMinimumSize(new Dimension(40, 20));
            this.forwardButton.setMaximumSize(new Dimension(150, 20));
            this.forwardButton
                    .setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            this.forwardButton.addMouseListener(new MouseAdapter() {
                @Override
                public void mousePressed(MouseEvent evt) {
                    rightButtonMousePressed(evt);
                }
View Full Code Here

            this.decButton.setToolTipText("Decrement the axisCurrentPosition with the step value");
            this.decButton.setFont(new java.awt.Font("Dialog", 1, 18));
            this.decButton.setPreferredSize(new Dimension(60, 28));
            this.decButton.setMinimumSize(new Dimension(60, 28));
            this.decButton.setMaximumSize(new Dimension(200, 28));
            this.decButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            this.decButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent evt) {
                    jButtonDecActionPerformed(evt);
                }
View Full Code Here

        if (goButton == null) {
            goButton = new JButton();
            goButton.setText(GO_TEXT);
            goButton.setToolTipText(GO_TOOLTIP);
            goButton.setFont(new Font(Font.DIALOG, 1, 12));
            goButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            goButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(final ActionEvent evt) {
                    jButtonIncActionPerformed(evt);
                }
View Full Code Here

        if (incButton == null) {
            incButton = new JButton();
            incButton.setText(INCREMENT_AXIS_TEXT);
            incButton.setToolTipText(INCREMENT_AXIS_TOOLTIP);
            incButton.setFont(new Font(Font.DIALOG, 1, 18));
            incButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
//            incButton.setMaximumSize(new Dimension(200, 28));
//            incButton.setMinimumSize(new Dimension(60, 28));
//            incButton.setPreferredSize(new Dimension(60, 28));
            incButton.addActionListener(new ActionListener() {
                @Override
View Full Code Here

            backwardButton.setText(BACKWARD_TEXT);
            backwardButton.setToolTipText(BACKWARD_TOOLTIP);
//            backwardButton.setPreferredSize(new Dimension(40, 20));
//            backwardButton.setMinimumSize(new Dimension(40, 20));
//            backwardButton.setMaximumSize(new Dimension(150, 20));
            backwardButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            backwardButton.addMouseListener(new MouseAdapter() {
                @Override
                public void mousePressed(final MouseEvent evt) {
                    leftButtonMousePressed(evt);
                }
View Full Code Here

            forwardButton.setText(FORWARD_TEXT);
            forwardButton.setToolTipText(FORWARD_TOOLTIP);
//            forwardButton.setPreferredSize(new Dimension(40, 20));
//            forwardButton.setMinimumSize(new Dimension(40, 20));
//            forwardButton.setMaximumSize(new Dimension(150, 20));
            forwardButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            forwardButton.addMouseListener(new MouseAdapter() {
                @Override
                public void mousePressed(final MouseEvent evt) {
                    rightButtonMousePressed(evt);
                }
View Full Code Here

            decButton.setToolTipText(DECREMENT_AXIS_TOOLTIP);
            decButton.setFont(new Font(Font.DIALOG, 1, 18));
//            decButton.setPreferredSize(new Dimension(60, 28));
//            decButton.setMinimumSize(new Dimension(60, 28));
//            decButton.setMaximumSize(new Dimension(200, 28));
            decButton.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
            decButton.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(final ActionEvent evt) {
                    jButtonDecActionPerformed(evt);
                }
View Full Code Here

TOP

Related Classes of javax.swing.border.BevelBorder

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.