#how to know if something belong to some class like JButton or JPanel

1 messages · Page 1 of 1 (latest)

dry saddleBOT
#

<@&987246399047479336> please have a look, thanks.

eager heron
#

Do you mean instanceof? (used like if (something instanceof JButton) {)

frail aspen
frail aspen
#

like is there anyway to get the jpanel that hold a jbutton is it even possible