السلام عليكم ورحمة الله
انا ضيفة جديدة بالمنتدى وشفت تعاونكم مرة انبسطت وقلت اكيد حتساعدوني :unsure:
عندي برنامج وابغى احلة حاولت فية يطلع اخطاء فبليز اللي يقدر يساعدني الله يفرجها علية انا مرة شايلة همة ولازم اسلمة السبت الجاي
وهذا هو البرنامجWrite a program to create a frame contains 4 buttons and a label as following:
Button 1: will change the color of the frame to PINK & set the text name in Label
“ I am button textonthebutton.”
Button 2: will create a new empty frame. Note: do not use setDefaultCloseOperation method in new frame.
Button 3: will show a JoptionPane ask you to enter your name. then your name will displayed in the Label.
Button 4: will close the system . Note : System.exit(0);
use GridLyout with 3 rows and 2 columns