The download is free, but we offer some paid services. Support us by subscribing
Delete ads and speed up browsing the library.
The download starts with the click of a button without waiting for the book to be ready.
No limits for download times.
You can upload unlimited books in the library.
Enable readers to download your books without waiting.
Delete ads on the books that you publish.
No problems with download links for your uploaded books.
The source of the book
This book was brought from archive.org as under a Creative Commons license, or the author or publishing house agrees to publish the book. If you object to the publication of the book, please contact us.
| Author: | Akram Qaid AlHamidi |
| Category: | OOP Languages (Java, C++, C#) [Edit] |
| Language: | Arabic |
| Pages: | 17 |
| File Size: | 464.02 KB |
| Extension: | |
| Creation Date: | 28 Sep 2013 |
| Rank: | 74,234 No 1 most popular |
| Short link: | Copy |
| More books like this book | |
يتناول الكتاب شرحاً مفصلاً للأحداث في لغة جافا باستخدام بيئة NetBeans، حيث يفصل في أحداث التركيز مثل FocusGained وFocusLost، وأحداث الفأرة التي تنقسم إلى أحداث أساسية وأحداث حركة Mouse Motion Events. كما يستعرض أحداث المكونات Component Event التي تُنفذ عند تغيير حالة العنصر مثل ComponentHidden وComponentResized، بالإضافة إلى أحداث النافذة Window Event وأحداث لوحة المفاتيح التي تشمل KeyTyped وKeyPressed وKeyReleased.
يستعرض النص مجموعة من أدوات التحكم في الواجهات وخصائصها التقنية، مثل أداة التسمية JLabel وأداة حقل النص JTextField، وأداة منطقة النص Text Area التي تتميز بخاصيتي TabSize وLineCount. كما يشرح عمل الأداة JComboBox والتعامل مع الحدث ItemStateChanged، وأداة JCheckBox التي تعتمد على الدالة isSelected()، وأداة JSlider التي تتيح تحديد قيم بين الحد الأدنى minimum والحد الأقصى maximum، وصولاً إلى أداة JFormattedText التي تفرض صيغاً محددة للمدخلات باستخدام رموز مثل # للأرقام وH للنظام السداسي عشر.
يتضمن الكتاب تطبيقات عملية لبرمجة الواجهات، منها برنامج لتحليل النصوص يحسب عدد الكلمات والحروف باستخدام الدالة split(" ")، وبرنامج لدمج الألوان يعتمد على java.awt.Color وتحديث خلفية JPanel. كما يقدم برنامجاً لحساب الفرق بين تاريخين باستخدام Date.parse()، وتطبيقاً لبرنامج حاسبة يدير العمليات الحسابية عبر متغيرات من نوع double، مع معالجة الإدخال من لوحة المفاتيح من خلال رموز المفاتيح Key Codes وتعطيل خاصية focusable للأدوات لضمان تركيز النافذة Form.
كتاب «جافا» دليل إجرائي مباشر يركز على الجانب التطبيقي لبناء واجهات المستخدم، وهو يتجاوز الشرح النظري ليضع القارئ أمام حالات برمجية واقعية. أقوى ما في الكتاب هو الربط الدقيق بين الأداة والحدث؛ فهو لا يكتفي بتعريف الأداة، بل يشرح كيف تتفاعل مع المستخدم، مثل تفصيل أحداث التركيز عبر `FocusGained` و`FocusLost` وكيفية التمييز بين اختيار العناصر وإلغائها في `JComboBox` باستخدام الدالة `getStateChange()`.
تجربة القراءة هنا تشبه متابعة ورشة عمل تقنية؛ فالكتاب يبني معرفته تدريجياً من خلال أمثلة عملية ملموسة. لفت نظري اهتمام المؤلف بالتفاصيل الدقيقة التي قد يغفل عنها المبتدئ، مثل استخدام رموز محددة في `JFormattedText` لفرض صيغ المدخلات (كاستخدام رمز # للأرقام وH للنظام السداسي عشر)، أو كيفية إدارة تركيز النافذة في برنامج الحاسبة عبر تعطيل خاصية `focusable` للأدوات لضمان استجابة لوحة المفاتيح.
يتطلب الكتاب من القارئ صبراً في تتبع الأكواد البرمجية وتطبيقها يدوياً على بيئة NetBeans لضمان استيعاب المنطق البرمجي، خاصة في التطبيقات المركبة مثل برنامج تحليل النصوص الذي يعتمد على الدالة `split(" ")`. قد يجد البعض أن أسلوبه جاف ومباشر جداً، لكن هذا هو المطلوب في الكتب التقنية التي تهدف إلى الإنجاز لا إلى التنظير.
هذا الكتاب موجه لمن يريد الانتقال من مرحلة تعلم أساسيات اللغة إلى مرحلة تصميم البرامج ذات الواجهات الرسومية. سيستفيد منه الطالب أو المبرمج المبتدئ الذي يفضل التعلم عبر «بناء مشروع» بدلاً من قراءة المجلدات المرجعية الضخمة، بينما قد يراه المحترفون بسيطاً أو محدود النطاق.
Be the first one to Rate, Review and Quote from the book
E-books are complementary and supportive of paper books and never cancel it. With the click of a button, the e-book reaches anyone, anywhere in the world.
E-books may weaken your eyesight due to the glare of the screen. Support the book publisher by purchasing his original paper book. If you can access it and get it, do not hesitate to buy it.
Publish your book now for free
We require cookies for this site to function. Please enable them to continue.
نحن نظهر لك هذه الرسالة لأننا نحترم خصوصيتك.
By using this website, you consent to us collecting cookies to provide you with a better user experience,
more details.
You cannot browse the site since you refused the use of cookies, as the site relies primarily on them to work.
Intellectual property is reserved for the authors mentioned on the books and the library is not responsible for the ideas of the authors
Old and forgotten books that have become past to preserve Arab and Islamic heritage are published,
and books that their authors are accepted to published.
The Universal Declaration of Human Rights states: "Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author".