Eclipse WindowBuilder Glitch in Text - java

I'm getting strange results in my Eclipse WindowBuilder whenever I try to run my GUI, the top left area has glitchy text (I don't really know what else to call this problem). I've tried searching everywhere but apparently no one else is getting this problem.
Problems with the image: Display is being displayed as Displa, 'Search' is scrambled.
Problem image:
I've tried creating a new project, tried reinstalling eclipse, deleting all my eclipse metafiles, redownloading WindowBuilder, I even uninstalled Java JDK and Java from my computer and reinstalled it.
I'm running
Windows 7 Ultimate Service pack 1 64bit.
Java 8 Update 25 (64-bit).
Java SE Development Kit Update 25 (64-bit).
Eclipse IDE for Java Developers
Version: Luna Service Release 1 (4.4.1)
Build id: 20140925-1800
Here is my using WindowBuilder process to give you guys an insight, as I maybe doing something wrong:
Create a new project, creating new application window under WindowBuilder. Go to design, add JTabbedPane in the center, and then add JPanel(s), apply GridBagLayout under all of my tabs and then add regardless of what element I put, the first element is always affected by this glitch and so are the tabs themselves affected.
I've tried supplied all the information I can please ask me if you want to know more to try to help me figure out what is wrong.
My layout of GridBagLayout:
Other notes:
I've also noticed that even after clean and fresh installs sometimes or often whenever I add a new element to my GUI after reopening or anything I get a big error and have to spam "Reparse" button a few times before I can go back to editing.
UPDATE:
I also noticed if I type anything in the text fields it will glitch out and I won't be able to see what I'm typing.

Same problem, got it after I downloaded and installed JavaJDK.
Not sure how to fix it other then just try to resize the window a few times, and you might be able to see what it says. Also I by browser doesn't detect my java install.
EDIT:
I found this:
Swing rendering appears broken in JDK 1.8, correct in JDK 1.7
I did what the best answer said and it worked :) And yes, indeed I have NVIDIA GeForce driver and java 8 installed (that is why).
I am from norway so the text is as well... Just try to click on what I have clicked on :)
http://i.imgur.com/aZeUdCw.png

I never got to updating this question with an answer, the solution was running Eclipse using the Nvidia Graphics card rather than Integrated.

Related

Eclipse IDE doesn't show window-titles properly

When I open the Eclipse IDE the window titles don't show text properly, not all but most texts related to the IDE are jagged and glitchy, anyone knows what might be the issue?
Things I have tried:
Restarted Eclipse multiple times (both closing and opening, and also; File -> Restart)
Changed the fonts
Updated the IDE and everything within it to the latest version:
Version: 2021-03 (4.19.0)
Build id: 20210312-0638
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 15.0.1
Changed the appearance(s)
Changed the encoding(s)
Restarted the computer
Also I'm using the Windows 10, and OS and Drivers are updated to the latest version at the time of posting this problem
I searched in/with Google, Stackoverflow, and other search engines with different wording, and all there was were issues with in-editor text rendering/formatting (As you can see in the picture other texts appear fine, like the project itself)
P.S. I don't have the issue with other IDEs I use; like Android Studio (IntelliJ), although I've seen the same issue on Android Studio which used to get fixed with a simple restart, which later they patched the bug as well, so idk if I'm missing something or not, any help would be appreciated
Ok, I've found a solution or a way around it, I now am pretty sure it is an IDE's bug
It seems to be a problem with the theming option, what I did was changing the themes to see whether it's gonna get fixed or not, and what I missed was I didn't check all the themes! One appears to be fixing the issue and that is the "Classic" theme only, the only one that works currently
Here's where to find it:
Window -> Preferences -> General -> Appearance -> Theme (dropdown menu) -> Classic
Note: Even disabling theming won't fix the problem for some reason, only selecting "Classic" seems to be working at the moment, hopefully they will fix it soon

Eclipse 2018-12 with JDK1.8 UI freezes

I am running Eclipse 2018-12 on a Windows 7 (VM) along with a JDK 1.8.0_121, as a runtime for the IDE and as JDK to build my bundles.
I am already through a couple of re-installations. Yesterday it happened again: The IDE freezes completely, not returning to be responsive even after waiting for several minutes.
Sometimes the wait cursor disappears and it seems to be responsive, but the first click anyway let the IDE return to its freeze mode.
What I did right before was a massive update of the underlying workspace through a git pull. Probably thousands of new deleted and changed files.
I've tried to start the IDE with "-clean" option.
I've created a new workspace, was able to do a couple of clicks here and there, UI freeze again.
I had the same thing with Eclipse 2019-03 and wasn't able to solve it, so I thought 2018-12 was a little more stable concerning this issue.
Is there a known issue with Eclipse-with-GIT?
Any ideas about how to get the IDE working again?
Is that probably 2018-12/2019-03 specific?

Eclipse won't save its settings

So I just downloaded the newest eclipse version and I noticed I don't have autocomplete. I went to the preferences and enabled them. I restarted eclipse and when I got back - still no autocomplete. I went to the preferences again and the checkboxes I checked were unchecked now. I tried doing it again without restarting - the moment I do something like
Button btn = new Button();
btn.
and I press control + space I get No default proposals. When I go to check the settings again the checkboxes get unchecked again(by themselves). I added the source code from the jdk too. Still no success. I tried to download it again a few times. Each time to no success. I tried placing the eclipse folder in tons of different places - first it was in the program files folder (I run on windows 10 64), then I moved it to a non system drive it still didn't save. I tried creating a ton of new workspaces all at different places on my harddrive and still nothing worked. I tried looking for people with the same problem as mine but most say they fixed the problem by updating - I can't update because I just downloaded the newest Eclipse version. Anyone has any idea how to fix this?
Well sorry if you just found this on Google because my solution is just as dumb as most of the solutions out there. After the 2nd reinstall I decided to try again tomorrow as it was getting late. Next morning everything worked. I didn't even turn off my PC so not a restart fix.

Can't load Jframe in "Design" view

I've done some simple project(calculator with GUI, I'm in learning phase :D ) in NetBeans,
it all worked well, compiled and everything worked fine. So,day after, I decide to move on to something new, but when i opened NB, GUI(from the Calculator project) didn't show up(in the "Design" view) it just said "Loading..."
I ignored this and tried to create a new project, but that didnt work out, after setting up and pressing "Finish" button it just did... well nothing :/
"Finish" button just faded and I was stuck with this (check ss below)
I've tried cleaning cache from /home/[myUsername]/.netbeans/7.0/cache (this suggestion I've found while Googling the solution of my problem) which didn't work.
After that I decided to go to StackOverflow and before asking new question I searched for my problem and actually found someone with same problem (Question) but he didnt get much of a solution, neither did he give much of details :/
So I've decided to try the suggestions from comments first:
Clean and build and try again
Looks like you have to add the Swing Layout Extensions Library to your project
It didn't work, but my problem was a bit different, I had my project already built successfully so i can still run it, even though it won't show up in Design view, i just couldn't do any change to Calculator project(would get same error as he did) nor could i make a new one.
Now I would like to know is this a bug in NetBeans or am I doing something wrong and how to fix it if it's possible?
Im using Linux Mint 16, NB version 7.0.1(latest)
Calculator project:
////GUI.java code
Im sorry for using links instead of other types of formatting, but i think like this its kinder to eye due to code being too long.
Thanks for your effort and time, and sorry if its a problem due to my stupidity
Ok, thanks to MadProgrammer I've found a solution, looks like it's a 'known bug' in this version of NetBeans, which is apparently obsolete(even tho the program itself says it's the latest)
Upgrading to 7.1.2 should fix the problem, will update if it works...
UPDATE
Works like a charm :)
Bug was fixed in 7.1.2 currently new is 8.0.2. apt-get gives me 7.0.1 as latest :/
P.S. Had problems with NetBeans from official site too, it won't accept the jdk path, so i suggest downloading it from oracle JDK+NB bundle
I've got this version through sudo apt-get install netbeans , I'll try downloading from their site

Mac: Menubar in IntelliJ IDEA not responding to clicks

I just decided to try out IDEA after reading glowing reviews for it from various places. The issue is, while it has focus, IDEA simply won't let me click anything on the menu bar, not even the Apple menu. Switching to another app and clicking the menu bar there works fine. All interface elements inside the IDEA window are clickable. Trying to move focus to the menu with Ctrl+Fn+F2 does not work either.
The only plugin that I have installed is the IdeaVim plugin, but the problem persists even after disabling it and switching the keymap to "Mac OS X 10.5+".
I'm trying this on IDEA 11.1 CE, OS X Lion and JDK 1.6. A quick Google didn't turn anything up. Has anyone else encountered this problem, or am I just being stupid and not seeing something right in front of my face?
EDIT: I've tried the usual tricks of switching to another program and back to IDEA, and closing and relaunching it, neither of which makes any difference.
I ran into this issue with IntelliJ 2019.1.1. For anyone else facing the same, make sure the IDE boot jdk is set to the bundled version. To find this, navigate to the actions menu (Cmd + Shift + A), and look for Switch Boot JDK. The selected option should look something like "<VERSION> boot bundled".
Make sure you have all the latest Java updates from Apple installed, Look&Feel in Preferences | Appearance should be Mac OS X.
Also try to rename IDEA config/plugins/system folders to start with all the default settings and see if you can still reproduce it.

Categories

Resources