Any java window I open does really weird stuff
First off, I have no idea if this is something I should post here. I am by no means a java developer, I just want to figure out what is happening and if I have a virus.
Any time I open a java application that opens a window, the background, buttons, etc start to change color, saturation, etc (example in image linked). Whenever I hover over a button, that button's color fixes, but then continues to do the thing. I don't know what is happening anymore, but thought I would ask people that know more than me about java. I have tried changing the java version it uses with no change in what happens. Is this some sort of virus, or did I just do something really stupid?
13 Replies
⌛
This post has been reserved for your question.
Hey @SubGplayz! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Looks like a custom LAF. Almost def not a virus
Can you send a vid of what happens?
like of you hovering over the button and such
and can you send your code (if you want that fixed and to not be orange)
It isn't in my code that is the problem, it is that on any java-based window application it does this. It doesn't matter who made it, if it uses regular windows looking stuff it does this. Even on the configure java window. Ill send a video in a second
it also happens across different JRE types, the one in the video is the one from oracle, but it also happens with adoptium jre
(fresh install of adoptium)
yeah that's weird
only thing I can think of is that someone changed the default look and feel globally for java but I don't know how or why anyone or thing would do that
your gpu might be slightly toasty
check your env variables as well
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
I doubt it, but I could try swapping out my gpu since I have a couple spares
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
it makes no sense for this to be a jre problem. The jre is hardly responsible for what happens in the windowing system
it could be some sort of configuration for a java gui library like javafx or something
you could try to download or make a simple javafx/swing application that just launches a window and check if the color is messedu p
This. Here's a useful sample jar: https://download.formdev.com/flatlaf/flatlaf-demo-latest.jar
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.