Ticket #34 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

catch x11 exception

Reported by: rena Owned by:
Priority: minor Milestone: 0.3
Component: general Version:
Keywords: Cc:
Blocking: Blocked By:

Description

calling JLatexEditor without -X via ssh brings the following exception:

:~/tools/JLatexEditospc418r$ Exception in thread "main" java.awt.HeadlessException?:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

at java.awt.GraphicsEnvironment?.checkHeadless(GraphicsEnvironment?.java:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)
at javax.swing.JFrame.<init>(JFrame.java:207)
at jlatexeditor.gui.AboutDialog?.<init>(AboutDialog?.java:20)
at jlatexeditor.JLatexEditorJFrame.main(JLatexEditorJFrame.java:132)

Would be nice to have just a message without exception...

Attachments

Change History

Changed 2 years ago by stefan

  • priority changed from normal to minor
  • summary changed from no x11 exception to catch x11 exception
  • milestone changed from 0.2 to 0.3

Add/Change #34 (catch x11 exception)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.