• الإعلانات

    • فيصل الحربي

      تسجيل عضوية جديدة في المنتدى   01/31/2016

      السلام عليكم ورحمة الله وبركاته  عزيزي العضو الجديد :  حاليا رسالة الإيميل لتأكيد صحة إيميلكم تذهب للبريد العشوائي ( جاري حل المشكلة )  فإذا لم تجد رسالة التحقق من إيميلكم في صندوق الوارد لديكم إتجه للبريد العشوائي ( JUNK)  وقم بتفعيل إشتراككم من هناك   

R.A.H

اعضاء جدد
  • عدد المشاركات

    8
  • تاريخ الانضمام

  • تاريخ اخر زياره

السمعه بالموقع

0 عادي

عن R.A.H

  • الرتبة
    عضو جديد
  1. السلام عليكم ورحممة الله وبركاته انا عندي هالترم مشروع خاص لمادة الدآتا بيس احترت كثير ف اختيار فكره مناسبه ،، لكي اطورها مستقبلا ان شاءالله لتكون مشروع لتخرجي وخطر لي فكرة لعمل داتا بيس لشركة كمبيوتر هارد وير هل بإمكاني عملها ؟ ولو كان اقدر أعملها ،، ماهي الاشيآء الاسياسيه التي أبني عليهآ قاعدة البيانات ؟ محتاجه نصيحتكم وشآكره لكم :-)
  2. وضحت لي أكثر كذا .. الله يسسسعدكـ جـــزاكـ الله ألف خيــــر ع الايضـآح و المساعدهـ =)
  3. نفس الشيء .. لم أحصل ع النتيجة التي أريدهـآ <.<
  4. مششكور على هـ التوضيح الله يسعدكـ عندي سؤآل >> بدلت جملة showMessage إلى الـ Panel لأني أحتـاج إلى إضافة بيانات مرهـ أخرى .. ولكــن في الـ output إذا ضغطت ع الزر مابيطلع أي سكرين <.< يحتاج إلى أن أعمل Panel جديد او أفضل ع أول واحد عملته b2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { // your code => when you press the button Creat account =>what event u want? // JOptionPane.showMessageDialog(null,"example"); JPanel p2=new JPanel(); JLabel w = new JLabel (" Name : "); JTextField t = new JTextField (10); p2.add(w); } }); } مشكـور ع التنبيه أخ عـلاء =)
  5. معليش ممكن توضح لي أكثر ..!!! فين بالضبط أحتاج لكتابة هذا الكود ..؟؟
  6. السسسسـلآم عليـكم ورحمة الله وبركـــاته عندي سؤآل بخصوص الـ GUI هذا الكود import javax.swing.JOptionPane; import java.awt.*; import javax.swing.*; class GUI { public void init() { JFrame myFrame = new JFrame(); Container c = myFrame.getContentPane(); FlowLayout f = new FlowLayout(); c.setLayout (f); JLabel wL = new JLabel ("ID: "); JTextField tf = new JTextField (10); JLabel w = new JLabel (" Password : "); JTextField t = new JTextField (10); //System.out.println(""); JButton b1 = new JButton("Fill my account"); JButton b2 = new JButton("Creat account"); JButton b3 = new JButton("Sing in"); c.add(wL); c.add(tf); c.add(w); c.add(t); c.add(b1); c.add(b2); c.add(b3); myFrame.setSize(400,100); myFrame.setVisible(true); } } class GUIText { public static void main(String [] args) { GUI G1 = new GUI(); G1.init(); } } سؤالـي ماهو الكود اللي يحتاج كتابته لكي أضغط على (Creat account) وو يطلعلي بوكس بيانات آخر مثل ماهو في هذا الكود أتمنى انو سؤآلي واضح =) واتمنى المسسساعده منكم .. مشكوره مقدما =)
  7. ألف شكر لك أخوي يعطيك العافيه ماتعرف وش كثر ساعدتني"وأتمنى تطلع على الثاني لأني أحتاجه ضروري..وشكرآ
  8. السسسـلام عليـــكم ورحمة الله وبــركـاته محتـآجه مسسآعده في تصحيح الكوود وهو عبـارة عن إضـآفة المواد مع معلومات كل مادة اوول شيء هذا الكود للمعلومات عن المواد مو راضي يعمل Run يقول فيه اخطاء بس ماعرفنا نعدلها وكمان الكود جدا طويل وفيه طريقة نقدر نخليه اصغر بس احنا مانعرفها طبعا هنا مستخدمين link list class Link { public String code; public int hours; public String info; public String pre_req; public String book; public String course_grade; public Link next; public Link(String c,int h,String in, String pre,String b,String grade) { code=c; hours=h; info=in; pre_req=pre; book=b; course_grade=grade; }//end constructor }// end class link class simplell { private Link first; public simplell() { first=null; }//end constructor public boolean isempty() { return first==null; } // end isempty method public void insertfirst(String c1,int h1,String in1, String pre1,String b1,String grade1) { Link newlink=new Link (c1,h1,in1,pre1,b1,grade1); newlink.next=first; first=newlink; }//end insert method public void displaylist() { System.out.print(" list of information about courses"); Link current=first; while(current != null) { current=current.next; } System.out.print(" "); } public String search(String c1) { Link current=first; while( current.code!=c1) { if (current.next==null) { return null;} else current=current.next; } return current; } }//end sortedlist class _________________________________________________________________ import java.util.Scanner; public class test_co { public static void main (String args[]) { Scanner input= new Scanner(System.in); simplell s = new simplell(); s.insertfirst("phy101", 4 ," First course of calculus- based ,general physics sequence.\n Topics covered include: kinematics and dynamics,conservation of energy\n and linear momentum, rotational kinematics,rigid body dynamics\n conservation of angular momentum,simple harmonic motion,gravitation\n,the static and dynamics of fluids" ,"This course is not depend on any course","Fundamental of physics by David halliday,Robert Resnick and Jearl Walker\n","Homwork and Quizzes 10% \n lab 10%\nFirst Major Exam 20%\nSecond Major Exam 20%\n Final Exam 40%" ); s.inserfirst("CS201",4,"Digital Logic\n Topics covered in this course include: overview of binary numbers, Boolean algebra,\n switching algebra, logic gates, Karnaugh maps, simplification of Boolean functions,\n combinational logic design,: adders, subtracters ,\n multilevel NAND/NOR/XOR circuits, design and use of encoders,\n decoders, multiplexers, BCD adders,\n latches and flip-flops\n.","This course depends on phys101\n","Digital Design by M. Morris Mano and Michael D.","Quizzes & Assignments 10%\nFirst Major 20%\nSecond Major 20%\nLab Exam 20%\nFinal Exam 30%"); s.inserfirst("CS202",4,"Foundation of Discrete Mathematics\nTopics covered will include basic mathematical notions of sets and functions; logic,\n propositional logic, truth tables, issues of equivalence,\n commonly occurring mathematical concepts such as graphs, trees","This course depends on math101", "Discrete Mathematics and Its Applications by Kenneth H. Rosen","Quizzes 15%\nFirst Major Exam 25%\n Second Major Exam 25%\n Final Exam 35%"); s.inserfirst("phys102",4,"A continuation of PHYS101.\nTopics covered include: wave motion and sound, temperature,\n first and second law of thermodynamics, kinetics theory of gases,\n coulomb's law, electric field, Gauss' law, electric potential,\n capacitors and dielectrics, D.C. circuits, the magnetic field, Ampere's, and Faraday's laws.","This course depends on phys101","Fundamentals of Physics by David Halliday, Robert Resnick and Jearl Walker\n","Home works and quizzes 10%\nLab Report 10%\nLab Exam 10%\nFirst Major Exam 20%\nSecond Major Exam 20%\nFinal Exam 30%"); s.inserfirst("CS204",4,"This course discussed basic concept of primary data structures arrays, linked-list,\n stack, queue, binary trees, hashing table heap and graph\n. It includes the implementation strategies and algorithm performance and choosing the best data structures\n which appropriate to system requirement","This course depends on CS102","Data Structures & Algorithm in JAVA by Robert Lafore","Homework and quizzes 20%\nLaboratory + Project 20%\nFirst Major Exam 10%\nSecond Major Exam 15%\nFinal Exam 35%"); s.inserfirst("Engl202",2,"This course comprises 3 parts; Speaking, Public Speaking and Presentations. It is based on the 3 Ps (presentation, practice and production) approach.","This course depends on Engl102"," This course will not use a textbook and\n will rely on alternative resources such as the Internet (Youtube video clips).\n Handouts and other materials will be given in class as necessary\n","Assignments 15%\n Quizzes 15%\n 2 Major Exams 25%\n Final Exam 45%\n"); s.inserfirst("CS203",4,"Topics covered in this course include: computer organization, data and instruction representation,\n ASCII code, Binary and Hexadecimal number systems,\n assembler directives versus machine instructions, keyboard input and screen output,\n instruction formats and types, stack operations, debugging, interrupts\n, macros, video output, and disk I/O.","This course depends on CS201\n","Assembly Language for Intel-Based Computers by Kip Irvine\n","Assignments 10%\nMajor 1 Examination 20%\nLab Midterm 10%\nMajor 2 Examination 20%\nLab Final Exam 10%\nFinal Exam 30%\n" ); s.inserfirst("math201",4,"Topics covered in this course include: polar coordinates, polar curves,\n area in polar coordinates, vectors, lines, planes and surfaces,\n cylindrical and spherical coordinates, functions of two and three variables\n, limits and continuity, partial derivatives, directional derivatives","This course depends on math 102","Calculus by Howard Anton, Irl Bivens and Stephen Davis","Assignments 5%\nContinuous Assessment 5%\nQuizzes 10%\nMajor Examination I 20%\nMajor Examination II 20%\nFinal Exam 40%"); s.inserfirst("math101",4,"Topics covered in this course include: limits and continuity of functions of a single variable,\n differentiability, techniques of differentiation, implicit differentiation,\n first and second derivative tests for local extrema.","This course is not depend on any course","Calculus: Early Transcendental and Multivariable by Howard Anton, Irl Bivens and Stephan Davis","Assignments 5%\nContinuous Assessment 5%\nQuizzes 10%\nFirst Major Exam 20%\nSecond Major Exam 20%\nFinal Exam 40%"); s.inserfirst("math102",4,"Topics covered in this course include: definite and indefinite integrals of functions of a single variable,\nfundamental theorem of calculus, techniques of integration, hyperbolic functions, \napplications of the definiteintegral to area, volume, arc length and surface of revolution,\n improper integrals, sequences and series.","This course depends on math 101","Calculus: Early Transcendental and Multivariable by Howard Anton, Irl Bivens and Stephan Davis","Assignments 5%\nContinuous Assessment 5%\nQuizzes 10%\nFirst Major Exam 20%\nSecond Major Exam 20%\nFinal Exam 40%"); s.inserfirst("math204",4,"Topics covered in this course include, matrices and system of linear equations,\n vector spaces and subspaces, linear independence, basis,\n dimensionsdeterminants, diagonalization","This course depends on math 201","Elementary Linear Algebra by Bernard Kolman, David R. Hill","Assignments 5%\nContinuous Assessment 5%\nQuizzes 10%\nFirst Major Exam 20 %\nSecond Major Exam 20 %\nFinal Exam 40%"); s.inserfirst("CS101",4,"Topics covered in this course include: an introduction to basic structured programming skills,\n basic data typesand operators, console input/output, logical expressions,\n control structures, functions, arrays, records, pointers,files read and write.\n The algorithms and problem solving, development of basic algorithms","This course is not depend on any thing","Problem Solving and Program design in C by jeri R. Hanly, Addison-Wesley","Quizzes & Assignments 10%\nFirst Major 20%\nSecond Major 20%\nLab Exam 20%\nFinal Exam 30%" ); s.inserfirst("CS102",4,"Topics covered in this course include: an introduction to computer science,\n advanced programming concepts,simple graphical user interfaces,\n searching and sorting techniques, object-oriented programming concepts,classes,\n methods, objects and encapsulation; constructors and destructors","This course depends on CS 101","Objects First with JAVA A Practical Introduction Unsing Blue J by David J. Barnes &michael Kolling, Prentice Hall","Quizzes & Assignments 10%\nFirst Major 20%\nSecond Major 20%\nLab Exam 20%\nFinal Exam 30%"); s.inserfirst("Arab101",2,"Topics covered in this course include: studying chosen parts of Arabic grammar,\n verbs, the five verbs, nouns thatare subject to desinential infliction with letters,\n derivatives, abrogative, indeclinable, numbers,\n and hamzah in apractical way with numerous applications","This course is not depend on any thing","YUC Course Material 2006","Homeworks 10%\nProject 20%\n Quizzes 10%\nMid term Exam 20%\nFinal Exam 40%"); s.inserfirst("Arab201",2,"Topics covered in this course include: sources and forms of objective writing,\n objective essay, reporting,evaluation, administrative messages,\n summary, and scientific research.","This course depends on Arab 101","YUC Course Material 2008","Homeworks 10%\nProject 20%\n Quizzes 10%\nMid term Exam 20%\nFinal Exam 40%"); s.inserfirst("Islam101",2,"Topics covered in this course include: fundamentals of Islamic ideology and thought,\n main characteristics of theIslamic faith, Islamic description of the universe\n, human beings and life, effects of faith in our lives.","This course is not depend on any thing","YUC COOP Training Handbook 2008","Homeworks 10%\nProject 20%\n Quizzes 10%\nMid term Exam 20%\nFinal Exam 40%"); s.inserfirst("Islam201",2,"Topics covered in this course include: good behavior for the integrated Islamic personality,\n principles of socialdealings, work and professional ethics","This course depends on Islam 101","YUC Senior Project Handbook 2008","Homeworks 10%\nProject 20%\n Quizzes 10%\nMid term Exam 20%\nFinal Exam 40%"); s.inserfirst("LIS101",1,"The purpose of this course is to introduce the nature and role of research in library and information science\n and inthe practice of librarianship and information management.\n Data collection and analysis techniques, as well asreporting and critical evaluation of research are also dealt with","This course is not depend on any thing","YUC Course Material 2006","Homeworks 10%\nProject 20%\n Quizzes 10%\nMid term Exam 20%\nFinal Exam 40%"); s.inserfirst("phys201",4,"Topics covered in this course include: semiconductor physics,\n PN junction, diode application, BJT and FETphysics and their characteristics,\n analog and digital electronics, and small signal amplifiers.","This course depends on phys 102","Microelectronic Circuit Analysis and Design by Donald Neamen","Quizzes & Assignments 10%\nFirst Major 20%\nSecond Major 20%\nLab Exam 20%\nFinal Exam 30%"); s.inserfirst("PE101",1,"A required course sequence commencing in the freshman year.\n Students take a semester-long course and studyat least one sport of their choice,\n and choices may be made from various sports offered in the college andphysical fitness center.","This course is not depend on any thing","YUC Course Material 2008","Assignments 20%\nLab final Exam 40%\nFinal Exam 40%"); s.inserfirst("PE102",1,"This is a continuation of the PE 101 emphasizing on physical activities focusing on one sport chosen by thestudents.","This course depends on PE 101","YUC Course Material 2006","Assignments 20%\nLab final Exam 40%\nFinal Exam 40%"); s.inserfirst("Engl201",3,"This course is designed to provide students with the practical skills needed in the preparation of written technicalcommunications.\n It involves exercises aimed at developing and improving the students' ability to use\n library andinformation gathering, administrating questionnaires/surveys, critically review.","This course depends on Engl 102","Professional English in Use - ICT Student's Book, S. Esteras and E. Fabre, CUP","Project 40%\nAssignments and Quizzes 20%\nHomework 10%\nMidterm 30%"); s.inserfirst("Engl101",3,"This course is about writing skills,paraghraph and the roles that use in writing it","This course is not depend on any thing","The paragraph by D.R","Homework and Assignments 20%\nQuizzes 20%\nMid term Exam 25%Final Exam 35%"); s.inserfirst("Engl102",3,"This course is continous Engl 101 about writing,and composition","This course depends on Engl 101","The Composition by D.R","Homework and Assignments 20%\nQuizzes 20%\nMid term Exam 25%Final Exam 35%"); System.out.print(" search about any course you want (you can search by the code of course [For example phy101] )"); String x; do { x=input.next(); Link y =s.search(x); if(y!= null) {System.out.println("The course is avarible"); System.out.printf("\n{Code}--> %s\n{Hours}--> %d\n{Information}--> %s\n {prerequisitie}--> %s\n{Book}-->%s\n{Course Grade}-->%s\n",y.code,y.hours,y.info,y.pre_req,y.book,y.course_grade); } else { System.out.println(" This course is not avarible ");} System.out.print(" if you want stop searching please enter 0\n "); } while(x!=0); } //end main method } //end test class وهذا الكود اهم شي وهو اضافة المواد طبعا مره مو راضي يعمل Run ومانعرف ليش وكمان المس قالت لنا استخدموا Area مع link list بس احنا مستخدمين بس link list واتوقع يحتاجله تغيير يعني أول شي نخلي المواد كلها Area بعدين لما User يدخل اسم الكورس اللي محتاجه يروح يبحث في Area بعدين يرسل الكورس اللي دخله User إلى link list خاص طبعا بس بالمواد المضافه .. ووماعرفنا كيف نعمل هالحركه =( .. هذآ الكوود class Link { public String sub1; public String pre; public Link next; public Link ( String s1,String s2) { sub1=s1; pre=s2;} public void display() { System.out.printf(" "); } } //end link class class register { private Link first; public register() { first=null; } public boolean isempty() { return first==null; } // end isempty method public void insert( String x,String y) { Link newlink=new Link (x,y); newlink.next=first; first=newlink; } public void displaylist() { System.out.print(" "); Link current=first; while(current != null) { current.display(); current=current.next; } System.out.println(" "); } public Link search(String s ) { Link current=first; while(current.sub1 !=s) { if (current.next==null) return null; else current=current.next; } return current; } //end search method }//end sortedlist class /////////////////////////////////////////////////// ___________________________________________________________________________________ import java.util.Scanner; public class t_reg { public static void main (String args[]) { Scanner input=new Scanner(System.in); register s=new register(); s.insert("Engl101","does not depend on any course"); s.insert("math101 ","does not depend on any cours"); s.insert("phys101" ,"does not depend on any cours"); s.insert("CS101 ","does not depend on any cours"); s.insert("Islam101 ","does not depend on any cours"); s.insert( "PE101 ","does not depend on any cours"); s.insert("Engl102 ","Engl 101" ); s.insert("math102" ,"math101" ); s.insert("phys102 ","phys101"); s.insert("CS102 ","CS 101" ); s.insert("Arab101", "does not depend on any cours"); s.insert("PE102 ","PE 101"); s.insert("math201", "math 102"); s.insert("phys201 ","phys 102"); s.insert("CS201 ","phys 101" ); s.insert("CS202 ","math 101 "); s.insert("Islam201","Islam101"); s.insert("Engl201 ","Engl 102 "); s.insert("Engl202 ","Engl 102 "); s.insert("math204 ","math 201 "); s.insert("CS203 ","CS 201 " ); s.insert("CS204 ","CS 102 "); s.insert("LIS101 ","does not depend on any cours" ); s.insert("Arab201 ", "Arab201"); System.out.println("\nWelcom to Registeration Part "); System.out.println("\n (You can add any course you want from freshman and sophomre level) "); System.out.println("\n Please enter: "); String x; do { x=input.next(); Link y =s.search(x); if(y!= null) {System.out.println("This course is avarible"); System.out.printf("\n{Course code}--> %s\n {prerequisitie}-->%s ",y.sub1,y.pre); System.out.println(" Did you pass from prerequisitie of this course (Yes/No)"); String m=input.next(); if (m=="Yes") { System.out.println("You can take this course ");} else System.out.println("You can not take this course "); } else { System.out.println("This course is not avarible "); } System.out.print(" if you want stop adding please enter x\n "); } while(x!="x"); } //end main method } //end test class محتآجه مسساعده وياليت لاتتأخرو شششكرآ