Tag Archives: Java Tips
Java™ Swing, 2nd Edition تعلم تقنيات تصميم الواجهات في لغة جافا مع هذا الكتاب الرائع

Java™ Swing, 2nd Edition تعلم تقنيات تصميم الواجهات في لغة جافا مع هذا الكتاب الرائع

Java™ Swing, 2nd Edition بعض الشرح عن الكتاب باللغة العربية تعلم تقنيات تصميم الواجهات .. اظن انا هذا العنوان ملائم لهذا الكتاب . يبحث هذا الكتاب في تصميم واجهات المستخدم الرسومية او الواجهات الودودة اي كما تعرف ب GUI = Graphical User Interface. تتضمن في البداية تعريف بمكونات Swing و مكونات AWT وكيفية تحديث البرامج [...]

Leave a comment Continue Reading →
Getting started with Ant in JAVA, The Apache ANT Project

Getting started with Ant in JAVA, The Apache ANT Project

ANT The main purpose of this article is to show Ant Java developers who do not yet know this tool. To reveal the main contributions of Ant, we will compare the creation of an online project of classical control with the creation of same project with Ant. Introduction Building the project from command line Compilation [...]

1 Comment Continue Reading →

Frame in the center of the screen and 50% of it with icon in TaskBar

بعض الشرح باللغة العربية هذا الكود البسيط والفيد جدا أثناء تصميم الواجهات الرسومية في الجافا . فعند تصميم الواجهة على جهاز معين بقياسات ثابتة مثلا 800*600 فاننا عندما نشغل البرنامج على جهاز آخر ذو دقة شاشة عالية فاننا نجد انا البرنامج غير منسق بشكل جيد لذلك نجد انه من الجيد جدا ان نضع النافذة في [...]

3 Comments Continue Reading →

Methods with a Variable Number of Parameters java jdk 6

Good Night : Before Java SE 5.0 every Java method had a fixed number of parameters. However, it is now possible to provide methods that can be called with a variable number of parameters. (These are sometimes called “varargs” methods.) You can define your own methods with variable parameters, and you can specify any type [...]

2 Comments Continue Reading →
Bingo Game in JAVA Working with vectors

Bingo Game in JAVA Working with vectors

Good night today i bring to you very funny java program called (Bingo) it is some kind of luck games the idea of game is to generate random ( 0 or 1 ) if there is three ones ( the same row, column, diagonal ) then BINGO else NOT BINGO the game done using Vectors [...]

2 Comments Continue Reading →

Printscreen (screen shot) in java

مسا الخير اليوم جايبلكون كود جافا بيقوم باخد صورة للشاشة ويحفظها على الهارد ديسك يمكن انا نحدد حجم الصورة – مكان الصورة – نوع الصورة الكود مو صعب ابدا وهو بالاعتماد بشكل اساسي على الصف java.aw.Robot واللي هوي بشكل اساسي عبارة عن صف للتعامل مع اجهزة الادخال مثل لوحة المفاتيح – الفارة بشكل تلقائي وذلك [...]

2 Comments Continue Reading →