Java:
I have a bunch of stuff drawn to the blank space of a JApplet app.
I need to add a JButton at a specific location.
I don't know how.
What's the easiest way to do this?
Java:
I have a bunch of stuff drawn to the blank space of a JApplet app.
I need to add a JButton at a specific location.
I don't know how.
What's the easiest way to do this?
Remove the container's layout manager and use the setBounds method for example
Java:
I have a bunch of stuff drawn to the blank space of a JApplet app.I need to add a JButton at a specific location.
I don't know how.What's the easiest way to do this?
hmm take a look here, it just adds on to what NormR1 said:http://stackoverflow.com/questions/3195666/how-to-place-a-jbutton-at-a-desired-location-in-a-jframe-using-java
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.