@@ -724,8 +724,8 @@ private void createInitLayout(SDKUrlHolder downloadUrls) {
724
724
downloadPathPanel .add (pathLabel ,BorderLayout .NORTH );
725
725
726
726
final JLabel locationLabel = new JLabel (processing .app .Base .getSketchbookFolder ().getAbsolutePath ());
727
- locationLabel .setMaximumSize (Toolkit .zoom (100 ,locationLabel .getHeight ()));
728
- locationLabel .setPreferredSize (Toolkit .zoom (100 ,locationLabel .getHeight ()));
727
+ locationLabel .setMaximumSize (Toolkit .zoom (200 ,locationLabel .getHeight ()));
728
+ locationLabel .setPreferredSize (Toolkit .zoom (200 ,locationLabel .getHeight ()));
729
729
locationLabel .setToolTipText (locationLabel .getText ());
730
730
downloadPathPanel .add (locationLabel ,BorderLayout .WEST );
731
731
@@ -766,18 +766,7 @@ public void actionPerformed(ActionEvent e) {
766
766
JPanel buttons = new JPanel ();
767
767
buttons .setAlignmentX (LEFT_ALIGNMENT );
768
768
769
- JButton backButton = new JButton ("Back" );
770
- backButton .setPreferredSize (dim );
771
- backButton .addActionListener (new ActionListener () {
772
- @ Override
773
- public void actionPerformed (ActionEvent e ) {
774
- dispose ();
775
- goBack = true ;
776
- }
777
- });
778
- buttons .add (backButton );
779
-
780
- JButton continueButton = new JButton ("Continue" );
769
+ JButton continueButton = new JButton ("Install" );
781
770
continueButton .setPreferredSize (dim );
782
771
continueButton .addActionListener (new ActionListener () {
783
772
@ Override
@@ -789,16 +778,17 @@ public void actionPerformed(ActionEvent e) {
789
778
});
790
779
buttons .add (continueButton );
791
780
792
- JButton cancelButton = new JButton ("Cancel" );
793
- cancelButton .setPreferredSize (dim );
794
- buttons .add (cancelButton );
795
- cancelButton .addActionListener (new ActionListener () {
781
+ JButton backButton = new JButton ("Back" );
782
+ backButton .setPreferredSize (dim );
783
+ backButton .addActionListener (new ActionListener () {
796
784
@ Override
797
785
public void actionPerformed (ActionEvent e ) {
798
786
dispose ();
799
- cancelled = true ;
787
+ goBack = true ;
800
788
}
801
789
});
790
+ buttons .add (backButton );
791
+
802
792
mainPanel .add (buttons );
803
793
804
794
//The side panel with image Icon-------------------------------------------
0 commit comments