private void Table1ButtonActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
ImageIcon i = new ImageIcon("images\\img.png");
if(Table1Button.getIcon() == i){
MakeABooking mab = new MakeABooking();
mab.setVisible(true);
}
}
嗨,有人可以帮我检查一下我的 jButton 是否有那个特定的 imageIcon 吗?谢谢