Re: Problem adding an image to a label icon...

2023-03-09 Thread Tim de Vries
Hi, If you trace through paint(Graphics g) and paintComponent(Graphics g), it shows what code is executed and when. You may also want to trace doLayout() if writing custom layout code. Don't forget super.methodName(params) or you may not activate the events for the specific thing you are doin

Re: Problem adding an image to a label icon...

2023-03-09 Thread Admin Netcrystals
, 2023 4:07 AMAn: users@netbeans.apache.org Betreff: Problem adding an image to a label icon... Hi everyone, I have a simple project in java / maven  in apache netbeans.I have a JFrame with a label that I have been trying to add an image to.I continually get this error when the program tries to add the

Problem adding an image to a label icon...

2023-03-09 Thread Dwayne Murphy
Hi everyone, I have a simple project in java / maven in apache netbeans. I have a JFrame with a label that I have been trying to add an image to. I continually get this error when the program tries to add the image to the label: *Cannot invoke "java.net.URL.toExternalForm()" because "location"