@@ -344,7 +344,7 @@ public JMenu buildHelpMenu() {
344344 JMenuItem item ;
345345
346346 // macosx already has its own about menu
347- if (!Base .isMacOS ()) {
347+ if (!Platform .isMacOS ()) {
348348 item = new JMenuItem (Language .text ("menu.help.about" ));
349349 item .addActionListener (new ActionListener () {
350350 public void actionPerformed (ActionEvent e ) {
@@ -497,39 +497,39 @@ public void menuCanceled(MenuEvent e) {
497497 item = new JMenuItem (Language .text ("menu.help.getting_started" ));
498498 item .addActionListener (new ActionListener () {
499499 public void actionPerformed (ActionEvent e ) {
500- Base .openURL (Language .text ("menu.help.getting_started.url" ));
500+ Platform .openURL (Language .text ("menu.help.getting_started.url" ));
501501 }
502502 });
503503 menu .add (item );
504504
505505 item = new JMenuItem (Language .text ("menu.help.troubleshooting" ));
506506 item .addActionListener (new ActionListener () {
507507 public void actionPerformed (ActionEvent e ) {
508- Base .openURL (Language .text ("menu.help.troubleshooting.url" ));
508+ Platform .openURL (Language .text ("menu.help.troubleshooting.url" ));
509509 }
510510 });
511511 menu .add (item );
512512
513513 item = new JMenuItem (Language .text ("menu.help.faq" ));
514514 item .addActionListener (new ActionListener () {
515515 public void actionPerformed (ActionEvent e ) {
516- Base .openURL (Language .text ("menu.help.faq.url" ));
516+ Platform .openURL (Language .text ("menu.help.faq.url" ));
517517 }
518518 });
519519 menu .add (item );
520520
521521 item = new JMenuItem (Language .text ("menu.help.foundation" ));
522522 item .addActionListener (new ActionListener () {
523523 public void actionPerformed (ActionEvent e ) {
524- Base .openURL (Language .text ("menu.help.foundation.url" ));
524+ Platform .openURL (Language .text ("menu.help.foundation.url" ));
525525 }
526526 });
527527 menu .add (item );
528528
529529 item = new JMenuItem (Language .text ("menu.help.visit" ));
530530 item .addActionListener (new ActionListener () {
531531 public void actionPerformed (ActionEvent e ) {
532- Base .openURL (Language .text ("menu.help.visit.url" ));
532+ Platform .openURL (Language .text ("menu.help.visit.url" ));
533533 }
534534 });
535535 menu .add (item );
@@ -664,7 +664,7 @@ public void handleExportApplication() {
664664 statusNotice (Language .text ("export.notice.exporting" ));
665665 try {
666666 if (exportApplicationPrompt ()) {
667- Base .openFolder (sketch .getFolder ());
667+ Platform .openFolder (sketch .getFolder ());
668668 statusNotice (Language .text ("export.notice.exporting.done" ));
669669 } else {
670670 // error message will already be visible
@@ -738,7 +738,7 @@ public void itemStateChanged(ItemEvent e) {
738738 });
739739
740740 // Only possible to export OS X applications on OS X
741- if (!Base .isMacOS ()) {
741+ if (!Platform .isMacOS ()) {
742742 // Make sure they don't have a previous 'true' setting for this
743743 Preferences .setBoolean (EXPORT_MACOSX , false );
744744 }
@@ -749,7 +749,7 @@ public void itemStateChanged(ItemEvent e) {
749749 updateExportButton ();
750750 }
751751 });
752- if (!Base .isMacOS ()) {
752+ if (!Platform .isMacOS ()) {
753753 macosxButton .setEnabled (false );
754754 macosxButton .setToolTipText (Language .text ("export.tooltip.macosx" ));
755755 }
@@ -866,12 +866,12 @@ public void paintComponent(Graphics g) {
866866 embedPanel .setLayout (new BoxLayout (embedPanel , BoxLayout .Y_AXIS ));
867867
868868 String platformName = null ;
869- if (Base .isMacOS ()) {
869+ if (Platform .isMacOS ()) {
870870 platformName = "Mac OS X" ;
871- } else if (Base .isWindows ()) {
872- platformName = "Windows (" + Base .getNativeBits () + "-bit)" ;
873- } else if (Base .isLinux ()) {
874- platformName = "Linux (" + Base .getNativeBits () + "-bit)" ;
871+ } else if (Platform .isWindows ()) {
872+ platformName = "Windows (" + Platform .getNativeBits () + "-bit)" ;
873+ } else if (Platform .isLinux ()) {
874+ platformName = "Linux (" + Platform .getNativeBits () + "-bit)" ;
875875 }
876876
877877 boolean embed = Preferences .getBoolean ("export.application.embed_java" );
@@ -893,7 +893,7 @@ public void paintComponent(Graphics g) {
893893 final JLabel warningLabel = new JLabel (embed ? embedWarning : nopeWarning );
894894 warningLabel .addMouseListener (new MouseAdapter () {
895895 public void mousePressed (MouseEvent event ) {
896- Base .openURL ("http://java.com/download" );
896+ Platform .openURL ("http://java.com/download" );
897897 }
898898 });
899899 warningLabel .setBorder (new EmptyBorder (3 , 13 + indent , 3 , 13 ));
@@ -921,7 +921,7 @@ public void itemStateChanged(ItemEvent e) {
921921
922922 //
923923
924- if (Base .isMacOS ()) {
924+ if (Platform .isMacOS ()) {
925925 JPanel signPanel = new JPanel ();
926926 signPanel .setLayout (new BoxLayout (signPanel , BoxLayout .Y_AXIS ));
927927 signPanel .setBorder (new TitledBorder (Language .text ("export.code_signing" )));
@@ -972,7 +972,7 @@ public void itemStateChanged(ItemEvent e) {
972972
973973 area .addMouseListener (new MouseAdapter () {
974974 public void mousePressed (MouseEvent event ) {
975- Base .openURL ("https://developer.apple.com/developer-id/" );
975+ Platform .openURL ("https://developer.apple.com/developer-id/" );
976976 }
977977 });
978978
0 commit comments