import java.awt.print.PageFormat;
import java.awt.print.PrinterJob;
import java.beans.PropertyChangeEvent;
-import java.beans.PropertyChangeListener;
import java.io.File;
import java.io.FileWriter;
import java.io.PrintWriter;
if (e.isPopupTrigger())
{
String msg = MessageManager.getString("label.enter_view_name");
- String reply = JvOptionPane.showInternalInputDialog(this, msg, msg,
- JvOptionPane.QUESTION_MESSAGE);
+ String ttl = tabbedPane.getTitleAt(tabbedPane.getSelectedIndex());
+ String reply = JvOptionPane.showInputDialog(msg, ttl);
if (reply != null)
{