Hi All,

I am just wondering how i would check if the below checkbox was clicked or not?

private JCheckBox postage = new JCheckBox("Postal Delivery?");

When the form is submitted i need to check the box and get a boolean saying true or false based on clicked or not thanks.

Regards,
Sinister747

isSelected() method inherited from AbstractButton

Sorted, thank you

isSelected() method inherited from AbstractButton

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.