gdx-studio
git clone https://git.pyrossh.dev/gdx-studio
An IDE for creating Games using libgdx and Java supported on all platforms Android, iOS, Desktop
src/gdxstudio/panel/ReplacePanel.java
| a9b2a64 | 1 | package gdxstudio.panel; |
| a62d533 | 2 | import javax.swing.JButton; |
| a62d533 | 3 | import javax.swing.JLabel; |
| a62d533 | 4 | import javax.swing.JPanel; |
| a62d533 | 5 | import javax.swing.JTextField; |
| a62d533 | 6 | |
| a62d533 | 7 | import web.laf.lite.layout.HorizontalFlowLayout; |
| 7c84877 | 8 | import web.laf.lite.utils.UIUtils; |
| a62d533 | 9 | |
| a62d533 | 10 | public class ReplacePanel extends JPanel {
|
| a62d533 | 11 | private static final long serialVersionUID = 1L; |
| 7c84877 | 12 | //private JButton findButton = new JButton("Find");
|
| a62d533 | 13 | private JTextField replaceField = new JTextField(); |
| a62d533 | 14 | private JButton replaceButton = new JButton("Replace");
|
| a62d533 | 15 | private JButton replaceFindButton = new JButton("Replace/Find");
|
| a62d533 | 16 | private JButton replaceAllButton = new JButton("ReplaceAll");
|
| a62d533 | 17 | |
| a62d533 | 18 | public ReplacePanel(){
|
| a62d533 | 19 | super(new HorizontalFlowLayout()); |
| 7c84877 | 20 | UIUtils.setUndecorated(this, true); |
| a62d533 | 21 | add(new JLabel("Replace With:"));
|
| a62d533 | 22 | add(replaceField); |
| a62d533 | 23 | add(replaceButton); |
| a62d533 | 24 | add(replaceFindButton); |
| a62d533 | 25 | add(replaceAllButton); |
| a62d533 | 26 | setVisible(false); |
| a62d533 | 27 | } |
| a62d533 | 28 | } |