AirReceiver icon indicating copy to clipboard operation
AirReceiver copied to clipboard

Check for headless environment

Open exabrial opened this issue 12 years ago • 0 comments

In AirReciever.java, just add this:

    if (!GraphicsEnvironment.isHeadless()) {
        /* Create about dialog */
        final Dialog aboutDialog = new Dialog((Dialog) null);
        final GridBagLayout aboutLayout = new GridBagLayout();
        aboutDialog.setLayout(aboutLayout);

exabrial avatar Dec 14 '12 20:12 exabrial