I know how to create the button but i want to click the button go to another link ?? Can give me sample example or clue to do it??
Printable View
I know how to create the button but i want to click the button go to another link ?? Can give me sample example or clue to do it??
what do you mean go to another link?
From 1st page i click the button go to second page..
I will assume that the "page" you are talking about are the containers such as JFrame, JPanel, JDialog etc.
To show another window just use
Code:SYNTAX:
<container's name>.setVisible(true || false)
EXAMPLE:
JFrame1.setVisible(true);