So i want to know how to make buttons disappear. I have something like this...
JButton button1 = new JButton("1");
button1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
(what goes here to make it disappear?)
}
});
I also want it to make other buttons disappear how do i do that? I tried to do something like this...
JButton button1 = new JButton("1");
button1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
share.setOnClickListener(new OnClickListener(){
public void onClick(View v){
linearlayoutbar1.setVisibility(View.GONE);
}
});