I just wana know if someone might have an idea of how I can go about doing this:
So attached I have a little example I whiped up. Say you have 3 buttons, button1, button2, button3. What I wana do, is when you click button1, it will magicly turn into another button called button4.
Is this possible? How? What would I put in my button1's actionPerformed to create and display button4 in button1s place?
You want that other "Button 4" to have a different functionality or simply change its label.
For changing label use the set methods of the JButton class API.
For changing the button, you can try to look at the API of JButton, if it has a setVisible method.
You can have both buttons placed at that location but one would be hidden. When you click the "1" you can hide that and make the "4" visible.
Like I said in order for that to work you need to look at the API. I am not sure if it can be done
Hi, I am fairly new to Python. I am familiar with the concept to pass data accross functions.
def c(): r = raw_input("Ask Something? ") .. return r ...
The goal of this project is to create a dll that will take in employee and employer information then return W2(s) in pdf form. Then the main program will cycle ...
Anyone know what/which type of WndProc Windows Message is raised when someone is burning a CD? What I mean here is that if I'm using a software like ...