Thanks, Now I know where invokeLater comes from in my IDE in my IDE programs.
This gives me something new to learn.
Joe
Type: Posts; User: JoeB
Thanks, Now I know where invokeLater comes from in my IDE in my IDE programs.
This gives me something new to learn.
Joe
Thanks, it works.
I viewed some my programs done with the IDE.
It all makes sense.
I'm not a student of Java, it's just a hobby. It first 10 tutorials are my reference.
JoeB
The entire code is posted.
the menus are below setJMenubar
The code I posted is completely runnable.
I don't understand Swing applications should be run on the EDT.
NetBeans 8.0.1
This is the 3rd time I've rebuilt this program.
My problem seems to be when I add the Menu's.
When I use RUN, the menu's sometimes show up or sometimes NOT.
When I use DEBUG it...
I thought it was outside of any methods, It's below the button.
Thanks.
I have something to work with now.
--- Update ---
I got it, I put it right after the closing } of the constructor...
Above is what I'm trying do
I have this and it works
switchHLbut.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
if(setBg == true){
Hi, I've been through 10 chapters of tutorials.
From OOP to Concurrency - Threads.
I was using Netbeans-IDE, and I'm back to do it without Netbeans.
Good luck to me.