Eclipse Intellisense is unreadable in Windows 8 - java

I am using Eclipse on Windows 8 x64. The problem I have is that the Eclipse IntelliSense pop-up (not sure what its actual name is) is unreadable:
This is because the background is cream and the foreground is white. I have only managed to find solutions for Ubuntu here but nothing for Windows.
How can I change either the background or the foreground color of the Eclipse IntelliSense pop-up to make it readable? Thanks!

The text in white are actually links, so I suspect that it's using the Windows default color for hyperlinks. I don't have use Windows so I can't tell you exactly where to change that, but I'd look at the standard Windows color/font settings and/or Internet Explorer settings.

Related

In Eclipse the text goes beyond page

I have a problem in Java Eclipse in that when I type a long sentence it goes beyond the border of my PC screen, so that I have to scroll to the right to be able to read a long sentence. I would like the text to stay within the screen, or within specific parameters, so that I don't have to scroll. Is there a way to do this?
I tried Googling a solution but can't find a way to get text to stay within screen limits :(
I found a button on the Toolbar.
In Eclipse ide 2019-03:
Toggle Word Wrap: Alt+Shift+Y
Depending on which version of Eclipse you use, there may be a way to enable Word Wrap.
In the question How do you enable word-wrap by default in Eclipse? Emmanuel Guiton explains that there is a setting which can be added manually to a preference file. Mickael states that Eclipse Neon uses the aforementioned shortcut.
Edit: Changed "Eclipse Oxygen ide 2019-03" to "Eclipse ide 2019-03"

Java Swing application under Gnome - use Adwaita (dark skin) window title bar

Is there a way for a Java Swing desktop application that runs in Gnome (3.14) on Linux (Debian) to make Gnome use the dark-themed (Adwaita) version of the window decoration?
I am using a custom dark Swing look-and-feel, and the only thing that is really annoying is that the title bar (native Gnome) is very bright. I already have used the Tweak tool to use Adwaita system-wide, but this doesn't kick in for applications that do not explicitly support dark-theme (e.g. Iceweasel, Icedove, Gimp, Libre Office, ...)
Here's a screenshot that illustrates the problem:
Ok, I found a viable solution for my specific system, so I will show what I did here. It is related to this question. In the accepted answer you can see that the issue is with legacy Gtk-2 applications, and that includes Java apparently. In the comments section there is a link to a Adwaita-Dark clone that applies the dark theme also to Gtk-2.
Unfortunately that theme is out-of-sync with Debian Jessie / Gnome 3.14 somehow, and if one installs that theme most widgets are broken in Iceweasel, Icedove etc. However. Since I don't care about the widgets but only the window title bar here, you can selectively use that clone only for the window decoraction.
So I downloaded that clone, and placed a symlink in ~/.local/share/themes/adwaita-again (you can use any name here it seems). Then in the Tweak tool, just flip the window style, like so:
And voilĂ , window title bars are dark for all applications:
This is also great when working with IntelliJ IDEA and "Darcula" theme. Linux FTW.
Edit: It seems the above approach does not fully work, at least after rebooting I am seeing the bright colours again. I found a more simple variant now: Copy the original Adwaita theme and patch the Metacity file. I have created a repository with my patched version.

Java GUI compatible with Mac and Windows

I have a project whose GUI was implemented in MAC notebook, when I tried to run it in Windows, there is different GUI and also different buttons' characters. I checked the type of all used fonts, and I am sure they are all installed in windows, Are there any other things I have to consider to work in both platforms ?
In swing there exists a LookAndFeel which by default is set to be platform specific: adapt to the normal platform theme. A nice cross-platform look-and-feel is nimbus.
What the fonts are concerned: look at this where registerFont is called.
You can Swing as the same code you develop will run on Mac, Windows or Linux.
You can install Windows Builder for eclipse. Tute is here:
https://www.youtube.com/watch?v=oeswfZz4IW0
(till 5:05 in the video)
A comprehensive guide to Swing and its various components can be found here: https://www.youtube.com/watch?v=rgkWfz7Vy40

How can Java apps use tray icons in Ubuntu >= 13.04 (with AppInicator)

The system tray was deprecated in Ubuntu 11.04 in favour of the new AppIndicator. Since then, SWT applications couldn't show an icon unless the user used a whitelisting workaround included for backwards compatibility. Version 13.04 now removes that workaround, meaning SWT applications (which don't support appindicator) can no longer generate tray icons.
How do you guys go about making tray icon applications using Java? Preferably in a way that works both on Windows and Linux, and not necessarily with SWT any more. Thanks!
Well, who knew. This exists in awt, so it's natively supported: SystemTray, and it works with AppIndicator in Ubuntu 13.04.
That said, there's a bug that makes the icon transparent background amateur-gray :(

Background of Eclipse's method list description panel is black

I'm running Ubuntu 11.04 on my system and am using OpenJDK. When I installed the Java Eclipse IDE, everything seemed to work fine at first until I started a project. When the method/variable list appears, it looks fine except that the panel giving you information on the method has a black background with white text. I want to change that back to black text on white, but my search through the preferences turned up nothing.
That is a setting that you have to change in Gnome. I don't have Ubuntu installed currently, so the solution is from my memory, and maybe the menu entries are named a bit differently:
Go to System Settings -> Appearance. Then you have somewhere a button to change colors, and there is somewhere an entry for tooltips, which is black. Change that and the color setting for the font.

Categories