Title: Add ability to maximize the window initially · Issue #4181 · processing/processing · GitHub
Open Graph Title: Add ability to maximize the window initially · Issue #4181 · processing/processing
X Title: Add ability to maximize the window initially · Issue #4181 · processing/processing
Description: I am using Processing 3.0.1 and since we don't have (easy) access to the underlying AWT window, it seems impossible for me to start a new sketch (which I am using from withing a standalone Eclipse Java project) maximized. I came closest ...
Open Graph Description: I am using Processing 3.0.1 and since we don't have (easy) access to the underlying AWT window, it seems impossible for me to start a new sketch (which I am using from withing a standalone Eclipse ...
X Description: I am using Processing 3.0.1 and since we don't have (easy) access to the underlying AWT window, it seems impossible for me to start a new sketch (which I am using from withing a standalone Ecli...
Opengraph URL: https://github.com/processing/processing/issues/4181
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add ability to maximize the window initially","articleBody":"I am using Processing 3.0.1 and since we don't have (easy) access to the underlying AWT window, it seems impossible for me to start a new sketch (which I am using from withing a standalone Eclipse Java project) maximized.\n\nI came closest with (the hacky):\n\n``` Java\nprivate void maximized() {\n try { \n final GLWindow window = (GLWindow) getSurface().getNative();\n window.getScreen().getDisplay().getEDTUtil().invoke(false, new Runnable() {\n @Override\n public void run() {\n window.setMaximized(true, true); // both horizontal and vertical\n }\n });\n } catch (Exception e) {\n System.err.println(\"Could not make window maximized\");\n }\n}\n```\n\nwhich I call inside setup() (it does not work inside settings() at all as there is no window yet).\n\nIt does start non-maximized, and after a short time the window is maximized, but this looks really not good and also is very non-portable since it depends on the JOGL renderer.\n\nSince using fullScreen() inside settings() works perfectly, it would be great, if we had a maximized() method which can also be called in settings() and does the expected thing.\n","author":{"url":"https://github.com/maxauthority","@type":"Person","name":"maxauthority"},"datePublished":"2015-12-01T17:30:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4181/processing/issues/4181"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3a493bd2-4802-c752-152e-d4fcb7c5a7bd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A19C:62C58:31739:45D8E:696F7785 |
| html-safe-nonce | 4443e5c9a764a920378a4e61e018b08aa5812f7234b9371782578abac068e097 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTlDOjYyQzU4OjMxNzM5OjQ1RDhFOjY5NkY3Nzg1IiwidmlzaXRvcl9pZCI6IjQ4NTQ3OTYzOTA1MTM5OTc3MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a01c6e15676a07cb07c8bbae4e7206ec8755c20a317e3440344a82e559aaac88 |
| hovercard-subject-tag | issue:119768108 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing/4181/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0642326814becad6373c01cf77cb6bb69a227696d9cf84b8e20396b7b20f13f9/processing/processing/issues/4181 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0642326814becad6373c01cf77cb6bb69a227696d9cf84b8e20396b7b20f13f9/processing/processing/issues/4181 |
| og:image:alt | I am using Processing 3.0.1 and since we don't have (easy) access to the underlying AWT window, it seems impossible for me to start a new sketch (which I am using from withing a standalone Eclipse ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxauthority |
| hostname | github.com |
| expected-hostname | github.com |
| None | acc7f8c2e144976eeb6e7a73826049dd183bc572ccf5eaa9afb8265c617a97ab |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc546a224d6d4726a8d7c3a0dfe0cf65dbf9b7bd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width