Create a GUI application with JFrame that contains five labels describing reasons that a customer might not buy a specific product (e.g. "too expensive"). Place a JButton on the JFrame, and code its functionality so that every time the user clicks on the button one of the reasons is removed from a label.
Following the description given in the question, attached solution (558735-NotBuyReasons.java) displays 5 labels followed by a button. On clicking ...
Java version "1.7.0_21" was used during development and testing of the attached program.