6768697071727374757677
textArea.setText(s); setSize(DcSettings.getDimension(DcRepository.Settings.stTextViewerSize)); setCenteredLocation(); if (edit) { JMenu editMenu = new TextEditMenu(textArea); JMenuBar mb = ComponentFactory.getMenuBar(); mb.add(editMenu); setJMenuBar(mb); }