السلام عليكم
حاولت حل السؤال لكن لم استطع ان أكتب الا هذا الجزء لا اعرف ان كان صح أم خطأ
رجاءً ساعدوني غداً عندي امتحان في هذه المادة...
وهذا هو الكود الذي كتبته,, اتمنى ان تساعدوني اليوم
كود:
import javax.swing.*;
import javax.swing.*;
import java.awt.*;
import javax.swing.border.*;
publice clas TestFrame extends myFrame{
public TestFrame(){
JPanel p1=new JPanel(new FlowLayout.LEFT,2,2));
JButton jbt1=new JButton("Search");
JButton jbt2=new JButton("Update");
JButton jbt3=new JButton("New");
JButton jbt4=new JButton("Delete");
public class MyFrame{
public static void main(String[]args){
JFrame frame=new JFrame("Employee Details Form");
frame.setSize(800,600);
frame.setLocationRelativeTo(null);
frame.SetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.SetVisible(true);
وجزاكم الله خيراً