Skinning Entire Eclipse GUI, Not Just Code Window - java

I have found some nice dark themes for editing code in Eclipse (screenshot below), but they only apply to the code window itself. The package explorer and outline view are still white background. It would be great if there was some way to make everything dark, even the toolbar at the top. Is this possible?
Thanks,
Jonah

You can customise the user interface by creating a new appearance. This functionality is integrated into Eclipse, and comes with the 'classic' VS as well as the modern one by default. See http://andrei.gmxhome.de/skins/index.html for a custom appearance. You can probably change the colours of the component backgrounds with your own :)

In short: no, not really. SWT doesn't include any kind of skinning capability. If your OS has window color preferences, much of the Eclipse GUI will respect them, but I wouldn't guarantee all would. But you could certainly try using your OS's facilities, and see how far you get with that.

The Juno release of Eclipse (released 27 June 2012) makes it possible to change Eclipse's theme. The theme enables the possibility of changing every GUI color, even the toolbar at the top. The appearance of the editor was already possible. If you change both the theme and the editor's appearance with Eclipse Juno you can have a real nice looking dark theme.
This post has a simple 3 step proces to get a dark theme like this:
This will cost you less than 10 minutes to configure.

Related

Creating Usable Toolbar for High Resolution Screen

High resolution screens are old news, but for some reason we (and the Eclipse guys) ignored them until now. Well, we can't any longer.
What we want to do is create Eclipse applications that work for "normal" displays, but for high resolution ones, too. Right now the icons are way to small to see or click.
This bug links to this (rather sparse) documentation states we only need to use a new constructor for Image. Okay, so we need to create our own implementation of ImageDataProvider.
While that might work for the images we created ourselves, it does not work for the main tool bar icons.
So let's say we'll start a completely new application from scratch: how would we set up everything to make the toolbar work with the new API and so with all kinds of screens?
(There is a similar question, but it's from the perspective of an Eclipse user, while this question is from the perspective of a developer of an Eclipse application.)
When HiDPI mode scaling is in use anything using ImageDescriptor.createFromURL to load images will look for a image with #2x or #1.5x appended to the name depending on the current scaling (so, for example, remove.png and remove#2x.png). This is used to create an ImageDataProvider.
Eclipse will use this for the tool bar images and many other things.

How to change theme in eclipse (whole theme, not font!)

I am using eclipse for studying, and I was thinking about changing the design of eclipse itself.
I found various of themes, which did only Change the Color of the different types of code, but not for example the Icons or the General UI.
Does anyone have links or advices for changing the whole look & feel?
if you're using latest eclipse (since 4.4), there is a dark theme included :
Window > preferences > General > Appearance > select dark theme
You can also check additional plugin for olders versions like https://marketplace.eclipse.org/content/eclipse-moonrise-ui-theme
But everything here is for dark theme, and you can't change icons

Darken Javadoc Background Colour

I'm currently using a customised dark theme for Eclipse including the UI and editor. The only problem is that the Javadoc and scrollbars aren't darkened. I don't mind having normal scrollbars, and I think that's to do with the OS theme. Is it possible to change the background colour of the Javadoc and still have it work in Eclipse?
Perhaps adjusting preferences in Eclipse manually will solve your problem?
Try opening the preferences dialog in Eclipse and navigate to General -> Appearance -> Colors and fonts. In the Colors and fonts section navigate to Java -> Javadoc view background. Then just edit it. :)

How to make Java Swing application developed in NetBeans not have hideous buttons?

I developed a Java application in Netbeans, and I'm going to release it soon so I'm working on making it less ugly. Since I'm developing on a Mac, the GUI builder uses the Mac Look & Feel, which looks decent, but many of my users won't be using Macs. The default L&F is Nimbus, which looks fine except for the buttons, which have annoying borders that are not overridden by the manually setting the borders (you can see how the manual borders look in the image). With the manually set borders, the Nimbus L&F adds its own odd border inside the border I made, which just looks idiotic. Without the manually set borders, Nimbus's borders overlap in visually unappealing ways, and in order to avoid overlap I have to space the buttons really far apart, which I also don't like.
I tried using the other L&Fs available in Netbeans (Metal and something else), but they're just too ugly to stand.
Basically, I would like some advice on how to customize the way buttons look in this application. I don't want to write a button drawing function from scratch or design my own images. I just want a way to change the settings so things don't look stupid. I read in various places that the Substance L&F is good, but I can't find where to download it anywhere. If someone could link me to a download page for Substance or recommend another popular, simple and not stupid-looking L&F, I would greatly appreciate it.
Yeah pretty much all the L&Fs you'll find in Netbeans are worse than the default. The program will use the default Look & Feel of the operating system - so if it's being run on Windows it will have the "Windows-esce" buttons and fonts and on Mac will have the Mac style.
It all depends on what you're looking for. If you're application is meant to be professional and you don't mind it having different styles depending on the OS of the user then I'd leave it as default. It lends familiarity to your program which can truly make the user feel much more comfortable.
If you're after an indetical look for all users then, as you know, you just need to include the L&F with your program. I couldn't find a download for Substance but there are a few L&F's here - both commercial and free.
http://www.java2s.com/Product/Java/Swing/Look-And-Feel-LaF.htm

Changing the background color of an intellij pane

I've changed the color scheme in intellij so that the background of the Java editor pane is dark and the text is light. I'm not sure if this is directly related, however, in other windows such as the 'run' window, the background stays white but any system messages are displayed as white text. This is obviously a problem as I can't read white text on a white background unless I manually highlight the text to have the background a different color.
Is there a way to change the background color of other panes other than the editor pane in IntelliJ?
I believe if you restart IntelliJ, it will update the background of all panes (tool windows).
If you are having trouble to revert back to light frames, there is a way to do that.
Locate the your IntelliJ settings folder (on Windows, it is typically C:\Users\{username}\.IdeaIC12\, on Mac, it is something like ~/Library/Preferences/IntelliJIdea13/options. Of course you have to select the appropriate IntelliJ folder)).
Go to the folder config\options\.
Edit the file options.xml.
Delete these lines:
<component name="LafManager">
<laf class-name="idea.dark.laf.classname" />
</component>
Done.
** Edit ** As of Intelli-J Idea 12, Dark is the default! See my points below for versions 10/11
There is a way now - install the 'patch-ide' plugin in combination with the 'color-ide' plugin, and you will get your background colors across all the other panes and throughout the preferences of the application. If you just want to style your project tree also, use 'color-tree'
http://plugins.jetbrains.net/category/index?pr=webide&category_id=25
As a side note, here is an excellent dark color scheme, BlueForest
http://www.decodified.com/misc/2011/06/15/blueforest-a-dark-color-scheme-for-intellij-idea.html
How about this way.
File->Settings->Editor->Color & Fonts->General->Default text
Choose other color
then
Click the "Apply" button.
On Mac Ox and Idea 14 after changing back to Default theme you should also modify
~/Library/Preferences/IntelliJIdea14/options/laf.xml
and change
<laf class-name="com.intellij.ide.ui.laf.darcula.DarculaLaf" />
to
<laf class-name="com.apple.laf.AquaLookAndFeel" />
I found a solution:
Go to view -> Quick switch Scheme.... and change option 5. Look and feel to Dracula
Here's the latest 2016 that worked for me. I had changed the white background for editors but all the panes were still black. Selecting Quick Switch Scheme -> Look and feel -> default option - solved it for me, i.e. white panes.
https://www.jetbrains.com/help/idea/2016.1/switching-between-schemes.html
For all using intellij IDEA 15
if the problem is inconsistent colors in different panes try this :
View -> Quick Switch Schemes - Look and Feel -> Intellij (Note : not same as default)
Problem might be that you said yes to 'set Dracula theme to be the default' earlier when changing to dracula from white theme.
I've managed to get everything with a black background + a nice skull wallpaper.
https://github.com/phackwer/DarkKnight_IntelliJ
I usually disable Tool Buttons, Tool Bar and Status Bar on the View Menu and also run the project on Full Screen mode. Looks sensational!
You can change the wallpaper to a different one by pressing shift twice and looking for Set Background Image.
There does not seem to be a way. I'll either have to revert my color scheme back to the default, keep the white on white text in the 'run' pane or convince my work to get me a mac so i can use the magic key combination to invert all colors on the screen!
I like to play around with different themes and installed a bunch of them. After a while when I switched back to IntelliJ Light, this happened -
The opened files bar in editor couldn't retrieve its default colors. I tried -
Switching between themes (View -> Quick switch scheme -> Theme -> Selecting another one
Restart the IDE
Finally I did this - Files -> Settings -> Plugins -> And disabled all installed themes and restart
And voila!
Hope this helps someone in a similar situation :)
Settings -> Editor -> Colors & Fonts
Set "Scheme" to "Default".
Helps instantly, without restart

Categories

Resources