| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2014 The Processing Foundation | ||
| 6 | + Copyright (c) 2014-19 The Processing Foundation | ||
| 7 | 7 | ||
| 8 | 8 | This program is free software; you can redistribute it and/or modify | |
| 9 | 9 | it under the terms of the GNU General Public License version 2 | |
@@ -53,7 +53,7 @@ public class Preferences { | |||
| 53 | 53 | static final String PREFS_FILE = "preferences.txt"; //$NON-NLS-1$ | |
| 54 | 54 | ||
| 55 | 55 | static Map<String, String> defaults; | |
| 56 | - static Map<String, String> table = new HashMap<String, String>(); | ||
| 56 | + static Map<String, String> table = new HashMap<>(); | ||
| 57 | 57 | static File preferencesFile; | |
| 58 | 58 | ||
| 59 | 59 | ||
@@ -73,7 +73,7 @@ static public void init() { | |||
| 73 | 73 | ||
| 74 | 74 | // Clone the defaults, then override any them with the user's preferences. | |
| 75 | 75 | // This ensures that any new/added preference will be present. | |
| 76 | - defaults = new HashMap<String, String>(table); | ||
| 76 | + defaults = new HashMap<>(table); | ||
| 77 | 77 | ||
| 78 | 78 | // other things that have to be set explicitly for the defaults | |
| 79 | 79 | setColor("run.window.bgcolor", SystemColor.control); //$NON-NLS-1$ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2012-15 The Processing Foundation | ||
| 6 | + Copyright (c) 2012-19 The Processing Foundation | ||
| 7 | 7 | Copyright (c) 2004-12 Ben Fry and Casey Reas | |
| 8 | 8 | ||
| 9 | 9 | This program is free software; you can redistribute it and/or | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,24 @@ | |||
| 1 | + /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ | ||
| 2 | + | ||
| 3 | + /* | ||
| 4 | + Part of the Processing project - http://processing.org | ||
| 5 | + | ||
| 6 | + Copyright (c) 2012-19 The Processing Foundation | ||
| 7 | + | ||
| 8 | + This program is free software; you can redistribute it and/or modify | ||
| 9 | + it under the terms of the GNU General Public License version 2 | ||
| 10 | + as published by the Free Software Foundation. | ||
| 11 | + | ||
| 12 | + This program is distributed in the hope that it will be useful, | ||
| 13 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | + GNU General Public License for more details. | ||
| 16 | + | ||
| 17 | + You should have received a copy of the GNU General Public License | ||
| 18 | + along with this program; if not, write to the Free Software Foundation, Inc. | ||
| 19 | + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | + */ | ||
| 21 | + | ||
| 1 | 22 | package processing.app.ui; | |
| 2 | 23 | ||
| 3 | 24 | import java.awt.event.WindowEvent; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,8 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2006-14 Ben Fry and Casey Reas | ||
| 6 | + Copyright (c) 2012-19 The Processing Foundation | ||
| 7 | + Copyright (c) 2006-12 Ben Fry and Casey Reas | ||
| 7 | 8 | ||
| 8 | 9 | This program is free software; you can redistribute it and/or modify | |
| 9 | 10 | it under the terms of the GNU General Public License version 2 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2012-15 The Processing Foundation | ||
| 6 | + Copyright (c) 2012-19 The Processing Foundation | ||
| 7 | 7 | Copyright (c) 2004-12 Ben Fry and Casey Reas | |
| 8 | 8 | Copyright (c) 2001-04 Massachusetts Institute of Technology | |
| 9 | 9 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | - Copyright (c) 2015 The Processing Foundation | ||
| 5 | + | ||
| 6 | + Copyright (c) 2015-19 The Processing Foundation | ||
| 6 | 7 | ||
| 7 | 8 | This program is free software; you can redistribute it and/or modify | |
| 8 | 9 | it under the terms of the GNU General Public License version 2 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2012-17 The Processing Foundation | ||
| 6 | + Copyright (c) 2012-19 The Processing Foundation | ||
| 7 | 7 | Copyright (c) 2004-12 Ben Fry and Casey Reas | |
| 8 | 8 | Copyright (c) 2001-04 Massachusetts Institute of Technology | |
| 9 | 9 | ||
@@ -233,8 +233,8 @@ public void message(String what, boolean err) { | |||
| 233 | 233 | // https://github.com/processing/processing/issues/5462 | |
| 234 | 234 | // Some discussion on the Apple's developer forums seems to suggest that is not serious: | |
| 235 | 235 | // https://forums.developer.apple.com/thread/105244 | |
| 236 | - } else if (err && what.contains("NSWindow drag regions should only be invalidated on the Main Thread")) { | ||
| 237 | - // Keep hiding warnings triggered by JOGL on recent macOS versions (this is from 10.14 onwards I think). | ||
| 236 | + } else if (err && what.contains("NSWindow drag regions should only be invalidated on the Main Thread")) { | ||
| 237 | + // Keep hiding warnings triggered by JOGL on recent macOS versions (this is from 10.14 onwards I think). | ||
| 238 | 238 | } else if (err && what.contains("Make pbuffer:")) { | |
| 239 | 239 | // Remove initalization warning from LWJGL. | |
| 240 | 240 | } else if (err && what.contains("XInitThreads() called for concurrent")) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2015 The Processing Foundation | ||
| 6 | + Copyright (c) 2015-19 The Processing Foundation | ||
| 7 | 7 | ||
| 8 | 8 | This program is free software; you can redistribute it and/or modify | |
| 9 | 9 | it under the terms of the GNU General Public License version 2 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2015 The Processing Foundation | ||
| 6 | + Copyright (c) 2015-19 The Processing Foundation | ||
| 7 | 7 | ||
| 8 | 8 | This program is free software; you can redistribute it and/or modify | |
| 9 | 9 | it under the terms of the GNU General Public License as published by | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,8 +3,8 @@ | |||
| 3 | 3 | /* | |
| 4 | 4 | Part of the Processing project - http://processing.org | |
| 5 | 5 | ||
| 6 | - Copyright (c) 2013-15 The Processing Foundation | ||
| 7 | - Copyright (c) 2004-13 Ben Fry and Casey Reas | ||
| 6 | + Copyright (c) 2012-19 The Processing Foundation | ||
| 7 | + Copyright (c) 2004-12 Ben Fry and Casey Reas | ||
| 8 | 8 | Copyright (c) 2001-04 Massachusetts Institute of Technology | |
| 9 | 9 | ||
| 10 | 10 | This program is free software; you can redistribute it and/or modify | |
| Back | FazBrowse Home | New Git URL |
0 commit comments