[JAVA] I want to dark mode with the SWT app

I don't know how much demand there is.

I want to use my own SWT app to dark mode my Mac.

It was possible from Eclipse IDE 2019-06 (4.12).

Reference: https://www.eclipse.org/eclipse/news/4.12/platform_isv.php#dark-theme-mac

Execute by specifying the following in the VM argument

-Dorg.eclipse.swt.display.useSystemTheme=true

Judgment of dark mode

"Dark".equals(execCommand("defaults read -g AppleInterfaceStyle"));

Recommended Posts

I want to dark mode with the SWT app
I want to know the answer of the rock-paper-scissors app
I want to distinct the duplicated data with has_many through
I want to pass the startup command to postgres with docker-compose.
I want to create a chat screen for the Swift chat app!
I want to make an ios.android app
I want to use DBViewer with Eclipse 2018-12! !!
[Java] I want to perform distinct with the key in the object
I want to create a dark web SNS with Jakarta EE 8 with Java 11
I want to introduce the committee with Rails without getting too dirty
I want to test Action Cable with RSpec test
I want to output the day of the week
I want to use java8 forEach with index
I want to var_dump the contents of the intent
[Swift] How to link the app with Firebase
I want to play with Firestore from Rails
I want to truncate after the decimal point
I want to perform aggregation processing with spring-batch
[Rails] I want to load CSS with webpacker
I want to get the value in Ruby
I want to control the start / stop of servers and databases with Alexa
I want to play a GIF image on the Andorid app (Java, Kotlin)
[Eclipse] I want to use the completion function, but I want to manage to confirm the completion with spaces.
[Java] I want to calculate the difference from the date
I want to embed any TraceId in the log
I want to judge the range using the monthly degree
I want to display the name of the poster of the comment
I want to monitor a specific file with WatchService
I want to authenticate users to Rails with Devise + OmniAuth
I want to transition screens with kotlin and java!
I want to call the main method using reflection
[Rough commentary] I want to marry the pluck method
I want to get along with Map [Java beginner]
I want to be aware of the contents of variables!
I want to return the scroll position of UITableView!
I want to redirect sound from Ubuntu with xrdp
I want to simplify the log output on Android
I want to add a delete function to the comment function
I want to change the path after new registration after logging in with multiple devises.
I want to hit the API with Rails on multiple docker-composes set up locally
I want to convert characters ...
[Beginner] I want to modify the migration file-How to use rollback-
I tried to introduce Bootstrap 4 to the Rails 6 app [for beginners]
I want to set the conditions to be displayed in collection_check_boxes
I tried to increase the processing speed with spiritual engineering
[Rails] [bootstrap] I want to change the font size responsively
[Rails] I tried to create a mini app with FullCalendar
I want to use screen sharing on the login screen on Ubuntu 18
(ยด-`) .. oO (I want to easily find the standard output "Hello".
I want to bring Tomcat to the server and start the application
I want to expand the clickable part of the link_to method
I want to change the log output settings of UtilLoggingJdbcLogger
I want to make a list with kotlin and java!
I want to make a function with kotlin and java!
I want to use the Java 8 DateTime API slowly (now)
I want to create a form to select the [Rails] category
I want to use the sanitize method other than View.
What I was addicted to with the Redmine REST API
Even in Java, I want to output true with a == 1 && a == 2 && a == 3
I want to put the JDK on my Mac PC
I want to give a class name to the select attribute