File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments