| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,24 +41,24 @@ public void init(Base base) { | |||
| 41 | 41 | (!javaVendor.contains("Sun") && !javaVendor.contains("Oracle")) || | |
| 42 | 42 | javaVM == null || !javaVM.contains("Java")) { | |
| 43 | 43 | Base.showWarning("Not fond of this Java VM", | |
| 44 | - "Processing requires Java 6 from Sun (i.e. the sun-java-jdk\n" + | ||
| 44 | + "Processing requires Java 7 from Sun (i.e. the sun-java-jdk\n" + | ||
| 45 | 45 | "package on Ubuntu). Other versions such as OpenJDK, IcedTea,\n" + | |
| 46 | 46 | "and GCJ are strongly discouraged. Among other things, you're\n" + | |
| 47 | 47 | "likely to run into problems with sketch window size and\n" + | |
| 48 | 48 | "placement. For more background, please read the wiki:\n" + | |
| 49 | - "http://wiki.processing.org/w/Supported_Platforms#Linux", null); | ||
| 49 | + "https://github.com/processing/processing/wiki/Supported-Platforms#Linux", null); | ||
| 50 | 50 | } | |
| 51 | - | ||
| 52 | - // Set x11 WM_CLASS property which is used as the application | ||
| 51 | + | ||
| 52 | + // Set x11 WM_CLASS property which is used as the application | ||
| 53 | 53 | // name by Gnome3 and other window managers. | |
| 54 | 54 | // https://github.com/processing/processing/issues/2534 | |
| 55 | 55 | try { | |
| 56 | 56 | Toolkit xToolkit = Toolkit.getDefaultToolkit(); | |
| 57 | - java.lang.reflect.Field awtAppClassNameField = | ||
| 57 | + java.lang.reflect.Field awtAppClassNameField = | ||
| 58 | 58 | xToolkit.getClass().getDeclaredField("awtAppClassName"); | |
| 59 | 59 | awtAppClassNameField.setAccessible(true); | |
| 60 | 60 | awtAppClassNameField.set(xToolkit, "Processing"); | |
| 61 | - | ||
| 61 | + | ||
| 62 | 62 | } catch(Exception e) { | |
| 63 | 63 | // In case the implementation details change | |
| 64 | 64 | e.printStackTrace(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments