I fixed it with a timer on repaint
int delay = 1000;
ActionListener taskPerformer = new ActionListener() {
public void actionPerformed(ActionEvent evt) {
...
Type: Posts; User: dragolis
I fixed it with a timer on repaint
int delay = 1000;
ActionListener taskPerformer = new ActionListener() {
public void actionPerformed(ActionEvent evt) {
...
when i move the mouse over it, this happens:
122812291230
in the first picture i've only touched the upper left jbutton, and then in the other pictures i've moved the mouse a bit in and out of...
i wrote that above the java code
i remade the previus post.
if you run this and just moves the mouse over the 4 jbuttons you'll see that they get "selected" and keep getting darker and darker the more times you drag the mouse over them
import...
My program is about finished now, one things i bugging me though, i have added some JButton's to make varius options, and the JButtons work. The things is that they react to mouseovers which leaves...
i got .getName to work. thx.
I got the DnD working, but now i need a way to get a filename from a string. I'm assuming i need to use String.split, but since the file paths are written with "\" (C:\dir\dir\dir\file.exe) i need to...
I have been looking at that guide before, but i guess i'll take another look, i'm just unsure how to implement the methods with a premade jpanel, as they are write protected, and as such i'd think i...
the end goal is to have a desktop application, somewhat like rainmeter or stardock, where you have a panel you can drop shortcuts into, and then i'll add some features to it along the way.
#2
no...
As part of a project, i want to make a panel where i can drag shortcuts from the desktop onto the panel and have them retain their functionality in the panel (they can still be clicked to open their...