* Create the main panel containing the log details and selector.
*/
private JPanel createMainPanel()
{
// _logContentsTxt.setEditable(false);
final TextPopupMenu pop = new TextPopupMenu();
pop.setTextComponent(_logContentsTxt);
_logContentsTxt.addMouseListener(new MouseAdapter()
{
@Override
public void mousePressed(MouseEvent evt)
{
if (evt.isPopupTrigger())
{
pop.show(evt.getComponent(), evt.getX(), evt.getY());
}
}
@Override
public void mouseReleased(MouseEvent evt)
{
if (evt.isPopupTrigger())
{
pop.show(evt.getComponent(), evt.getX(), evt.getY());
}
}
});
final File appLogFile = new ApplicationFiles().getExecutionLogFile();