@ -167,8 +167,7 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
centerPanel . add ( detailsPane , BorderLayout . CENTER ) ;
centerPanel . add ( detailsPane , BorderLayout . CENTER ) ;
JPanel buttonPanel = FRGUIPaneFactory . createBorderLayout_M_Pane ( ) ;
JPanel buttonPanel = FRGUIPaneFactory . createBorderLayout_M_Pane ( ) ;
buttonPanel . setBorder ( BorderFactory . createEmptyBorder ( 0 , 10 , 10 , 10 ) ) ;
buttonPanel . setBorder ( BorderFactory . createEmptyBorder ( 0 , 10 , 10 , 10 ) ) ;
boolean Sync = false ;
if ( isOnline ( ) ) {
if ( Sync & & isOnline ( ) ) {
ignoreButton = new UIButton ( Toolkit . i18nText ( "Fine-Design_Basic_Sync_Ignore" ) ) ;
ignoreButton = new UIButton ( Toolkit . i18nText ( "Fine-Design_Basic_Sync_Ignore" ) ) ;
ignoreButton . addActionListener ( this ) ;
ignoreButton . addActionListener ( this ) ;
syncButton = new UIButton ( Toolkit . i18nText ( "Fine-Design_Basic_Sync_To_Local" ) ) ;
syncButton = new UIButton ( Toolkit . i18nText ( "Fine-Design_Basic_Sync_To_Local" ) ) ;
@ -184,6 +183,8 @@ public class CheckServiceDialog extends JDialog implements ActionListener {
buttonPanel . add ( progressBar , BorderLayout . CENTER ) ;
buttonPanel . add ( progressBar , BorderLayout . CENTER ) ;
buttonPanel . add ( syncButton , BorderLayout . EAST ) ;
buttonPanel . add ( syncButton , BorderLayout . EAST ) ;
} else {
} else {
UILabel adviceLabel = new UILabel ( Toolkit . i18nText ( "Fine-Design_Basic_Sync_Suggestion" ) ) ;
centerPanel . add ( adviceLabel , BorderLayout . SOUTH ) ;
UIButton okButton = new UIButton ( Toolkit . i18nText ( "Fine-Design_Basic_Remote_Design_Button_Confirm" ) ) ;
UIButton okButton = new UIButton ( Toolkit . i18nText ( "Fine-Design_Basic_Remote_Design_Button_Confirm" ) ) ;
okButton . addActionListener ( this ) ;
okButton . addActionListener ( this ) ;
buttonPanel . add ( okButton , BorderLayout . EAST ) ;
buttonPanel . add ( okButton , BorderLayout . EAST ) ;