.getAlignment().getWidth()) ? true : false;
if (isEntireAlignWidth)
{
-
String title = MessageManager.getString("label.delete_all");
- Panel mp = new Panel();
- mp.setLayout(new FlowLayout());
- mp.add(new Label(MessageManager.getString("warn.delete_all")));
+ Panel infoPanel = new Panel();
+ infoPanel.setLayout(new FlowLayout());
+ infoPanel
+ .add(new Label(MessageManager.getString("warn.delete_all")));
final JVDialog dialog = new JVDialog(this, title, true, 400,
200);
- dialog.setMainPanel(mp);
+ dialog.setMainPanel(infoPanel);
+ dialog.ok.setLabel(MessageManager.getString("action.ok"));
+ dialog.cancel.setLabel(MessageManager.getString("action.cancel"));
dialog.setVisible(true);
if (!dialog.accept)