إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

Java with NetBeans خطوة خطوة

تقليص
X
 
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • Java with NetBeans خطوة خطوة

    مقدمة بسيطة:

    جافا

    تعد لغة الجافا تطويرا للغة السي بلس بلس، وتتميز بأنها أكثر لغات البرمجة إثارة حيث تمكننا من إضافة الحركة والصوت إلى صفحات الويب، كتابة الألعاب والبرامج المساعدة، إنشاء برامج ذات واجهة مستخدم رسومية. تستعمل أيضا لكتابة البرامج التعليمية.

    تعلم البرمجة بلغة الجافا يعد أسهل من تعلم البرمجة بلغات أخرى. تتوفر أدوات البرمجة بهذه اللغة على موقع شركة صن ميكروسيستمز كما يمكن تحميل برامج جافا من مواقع إنترنت مختلفة. وهي لغة سهلة التعلم. الإ أنها تحتاج كغيرها من اللغات إلى تطبيق وممارسة.


    تتطلب برامج الجافا وجود اّلة إفتراضية خاصة بها لتعمل.


    نت‌بينز


    هي بيئة تطوير متكاملة للغة الجافا. تحتوى نت‌بينز على عدة حزم تمكن المبرمج من البرمجة لعدة أغراض نتطرق إليها لاحقا.


    أولا: تحميل وإعداد نت‌بينز

    بعد زيارة الرابط أدناه:


    (1)



    (2)



    (3)


    بعد انتهاء التحميل، قم بفتح الملف.
    (4)
    في حال ظهرت الملاحظة أدناه انتقل إلى الخطوة (11)


    (5)



    (6)



    (7)



    (8)



    (9)



    (10)



    بذلك تكون قد انتهيت من الخطوة الأولى

    يتبع قريبا..


  • #2
    Re: Java with NetBeans خطوة خطوة

    (11

    في حال ظهور الملاحظة (4) في المشاركة السابقة، يتعين عليك تحميل JDK
    Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts.

    بعد الضغط على الرابط أعلاه




    (12
    ملاحظة: تحتاج معرفة نوع نظام التشغيل الذي تعمل عليه إن كان 64 بت أو 32 بت (من معلومات النظام)
    ضع علامة "صح" لقبول الاتفاقية، ثم اضغط على الزر Continue



    (13
    قم بحفظ الملف بالضغط على Save File



    (14
    بعد تحميل الملف، ثم تشغيله



    15)



    16)



    17)



    يتبع...

    تعليق


    • #3
      رد: Java with NetBeans خطوة خطوة

      موضوع جيد / شرح موفق
      يعطيكي الف عافية ع المجهود الرائع .
      اقترح تثبيت الموضوع بعنوان جديد :
      دروس برمجة ؟ برمجة حواسيب ؟
      ومن ثم جمع كافة الشروحات داخل الموضوع
      كذا أعتقد تعم الفائدة ويتحول الموضوع الى مرجع
      جيد مفيد للجميع .

      تعليق


      • #4
        Re: Java with NetBeans خطوة خطوة

        في كل مرة سأقوم بتسجيل فيديو، ثم رفعه إلى يوتيوب.
        ملاحظة: هذه المادة والمواد التابعة موجهة إلى المبتدئين، لذا، فالشرح سيكون خطوة خطوة.

        المقطع الآتي يتضمن:
        كيف أنشئ مشروع عمل جديد؟
        كيف أنشئ واجهة مستخدم رسومية؟ (الفيديو يتضمن إدراج 3 أدوات فقط، ما تبقى من الأدوات يتبع فيما بعد)
        كيف أكتب كود بسيط يسمح لي بتشغيل النافذة التي أنشأتها؟
        كيف أشغل البرنامج؟

        أولا:



        يتبع،

        تعليق


        • #5
          Re: Java with NetBeans خطوة خطوة

          ثانيا:

          • التعامل مع القوائم.
          • إضافة كود إلى قائمة فرعية.

          http://www.youtube.com/watch?v=241TTGBpET4

          تعليق


          • #6
            Re: Java with NetBeans خطوة خطوة

            Hello,
            Thank you for posting this tutorial,
            I just joined this forum today and I'm in 11th grade learning Java, I'm new to Java and would like to get some help. What do you think about posting a topic for Java users where anyone can share their experience and members can exchange ideas.
            Thank you,
            Yazeed

            تعليق


            • #7
              Re: Java with NetBeans خطوة خطوة

              المشاركة الأصلية بواسطة yazeed مشاهدة المشاركة
              Hello,
              Thank you for posting this tutorial,
              I just joined this forum today and I'm in 11th grade learning Java, I'm new to Java and would like to get some help. What do you think about posting a topic for Java users where anyone can share their experience and members can exchange ideas.
              Thank you,
              Yazeed
              You are welcome Yazeed to DanatDubai, hope you like it here. Feel free to post your ideas or to ask about anything you want to know

              تعليق


              • #8
                Re: Java with NetBeans خطوة خطوة

                Thank you for welcoming me, Ms. Tech. I was wondering what I would have to do to memorize certain lines of code. When I'm doing a new project in java, if there's a formula or some equation that I have to create myself then I can do it. But when there is a specific way to do something or declare a new variable I can't remember it and have to go back to old projects to see how to do it. How would I remember these lines of code so it just becomes easier for me to finish projects?
                If you could kindly reply I will check it tomorrow when I wake up because its almost 1:30 in the morning New York time.
                Thank you, Yazeed

                تعليق


                • #9
                  Re: Java with NetBeans خطوة خطوة

                  المشاركة الأصلية بواسطة yazeed مشاهدة المشاركة
                  Thank you for welcoming me, Ms. Tech. I was wondering what I would have to do to memorize certain lines of code. When I'm doing a new project in java, if there's a formula or some equation that I have to create myself then I can do it. But when there is a specific way to do something or declare a new variable I can't remember it and have to go back to old projects to see how to do it. How would I remember these lines of code so it just becomes easier for me to finish projects
                  If you could kindly reply I will check it tomorrow when I wake up because its almost 1:30 in the morning New York time.

                  Thank you, Yazeed


                  Memorizing certain lines of code comes with practice
                  and if you are using typical Java editors you may need time to finish your projects at the beginning.
                  But IDEs (like NetBeans & Eclipse) make it easier for you to program and save your time.
                  For example, when you start typing a line of code it gives you suggestions to complete the code
                  then you can just pick the function \ method you want to use:






                  By time you won't need to check the list of suggestions,
                  you'll be able to type faster.
                  Also, such IDE gives you a hint when you mistype some code,
                  it facilitates you to identify the error and solve it quickly.
                  For example: when you declare an Integer variable then use as a String you get
                  Incompatible types





                  Hope you find it useful.



                  *IDE: Integrated Development Environment

                  تعليق


                  • #10
                    Re: Java with NetBeans خطوة خطوة

                    Thank you Ms Tech, I'll use NetBeans to help me out. If I have any more questions I'll be sure to post them here.
                    So far in my class we've covered the following;
                    Command Line code
                    Making classes/methods
                    And Making a form with text boxes, and buttons.
                    If you ever post any more Java tutorials, I'll make sure to watch them.

                    تعليق


                    • #11
                      Re: Java with NetBeans خطوة خطوة

                      String, char, double, int, float and boolean, all are pre-defined classes in Java. And actually what we do is taking a copy of these classes then use the copy, i.e

                      String name;
                      int id;

                      - What we are trying to do is the same. We want to define our own class then use its copy each time.

                      - In Java, each Java file is represented by a class, we cannot find to classes in the same file!


                      - We always define the class as public, so it can be accessible by the other classes in the same project.


                      - In the same way when we declare variables or methods as public so they can be accessible by the other classes in the same project.


                      - In contrast, when we declare them as private, they can be only used -locally- within the same class.


                      For Example:


                      - We define a class named ‘welcome’.

                      - Under ‘welcome’ class we create the method ‘showMSG’ that prints ‘welcome to Danat Dubai’ to the user.


                      - In order to run the program, we need to call ‘showMSG’ inside the ‘main’


                      The two classes in the correct way:






                      The wrong way:








                      تعليق


                      • #12
                        Re: Java with NetBeans خطوة خطوة

                        Thank you for the new tutorial. I've always had trouble with classes and never really understood them. This makes it clearer, I appreciate it.
                        I was wondering if one day you could give me lessons on Java, whenever you get the chance. Maybe an hour once every week or so, let me know if you accept and we'll work on the details such as how much money you would charge me per session.
                        Thanks, Yazeed

                        تعليق


                        • #13
                          Re: Java with NetBeans خطوة خطوة

                          Sorry the video above is not so clear I'm going to upload it again

                          Thank you for the new tutorial. I've always had trouble with classes and never really understood them. This makes it clearer, I appreciate it.

                          I'm happy you found it useful

                          I was wondering if one day you could give me lessons on Java, whenever you get the chance.
                          My pleasure

                          Maybe an hour once every week or so, let me know if you accept
                          That would be fine

                          and we'll work on the details such as how much money you would charge me per session.
                          I charge per second not per session :D
                          We are here exchanging our experiences which is much more important than money



                          تعليق


                          • #14
                            رد: Java with NetBeans خطوة خطوة

                            Well thank you very much. I had to offer because here in America, we appreciate good knowledge and smart minds but it's usually at a certain price to learn from those minds.
                            This Saturday, I'm volunteering at a senior citizen home to help older people by keeping them company so would Sunday be good for you
                            As you know, there's a time difference of about 7-8 hours between America and the Middle East so what would a good time for you be on Sunday?

                            تعليق


                            • #15
                              Re: Java with NetBeans خطوة خطوة

                              your time - 10:00 am

                              تعليق

                              يعمل...
                              X