Skip to content

Commit a82f659

Browse files
committed
Removed scrollbar from key input.
1 parent ed259ce commit a82f659

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/com/mycryptifytool/WindowBuilder.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,11 @@ private void initialize() {
146146
keyLabel.setBounds(10, 11, 849, 14);
147147
keyPanel.add(keyLabel);
148148

149-
JScrollPane keyScrollPane = new JScrollPane();
150-
keyScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
151-
keyScrollPane.setBounds(10, 36, 114, 21);
152-
keyScrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
153-
keyPanel.add(keyScrollPane);
154-
155149
keyTextField = new JTextField();
156150
keyTextField.setToolTipText("The key to be used to encrypt or decrypt the text.");
157-
keyScrollPane.setViewportView(keyTextField);
151+
keyTextField.setBounds(10, 36, 114, 21);
158152
keyTextField.setColumns(10);
153+
keyPanel.add(keyTextField);
159154

160155
JPanel optionsPane = new JPanel();
161156
optionsPane.setBackground(Color.DARK_GRAY);

0 commit comments

Comments
 (0)