الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

NullOne

عضو مجتهد

الاعضاء المجتهدين عضو ★★

  • Prague
  • Artificial Intelligence, Business process management OOP, Financial markets Anything interesting
97مشاركة
9السمعة
1موضوع منشور
23 نوفمبر 2009تاريخ الانضمام
13 يناير 2010آخر زيارة
1,126مشاهدة للملف
  1. اسئلتكم واستفساراتكم

    أجد صعوبة إن اشرح أي شيء بالفصحى. اعتذر سوف أحاول أكثر :)

    13 ديسمبر 2009 في 15:21
  2. اسئلتكم واستفساراتكم

    You can make run for any java class that has a main method inside the same project. But you either run it by right click on the file and clicking run from the popup menu. Or you set which class you want it be main class of the project, and you can do this in t…

    13 ديسمبر 2009 في 05:58
  3. [تنبيه - عنوان غير مناسب : ]ماسبب هذا ال Exception ?

    /** * you never use null checkers in your code * you can find where's ur problem this way. * Your code is bad :( not understandable. * Lower case class names are not recommended * */ public void analysis(){ if(input != null) { while(input.hasNext()){ // input …

    11 ديسمبر 2009 في 20:45
  4. اريد نصيحة الى الاحتراف في الجافا

    For complete beginners in programming: Java Software Solutions: Foundations of Program Design by: John Lewis, William Loftus For those who have the basic skills then I recommend this book: Thinking in Java, Fourth Edition by: Bruce Eckel Those books are great …

    11 ديسمبر 2009 في 13:54
  5. [تنبيه - عنوان غير مناسب : ]مساعدة في هذا الكود

    public class OddNumSum { int sum = 0; void checkme (int num) { System.out.println("num=" +num); if(num % 2 != 0) { sum+=num; } } public static void main(String args[]) { OddNumSum n= new OddNumSum(); n.checkme(4); n.checkme(2); n.checkme(1); n.checkme(4); n.ch…

    11 ديسمبر 2009 في 12:43
  6. اسئلتكم واستفساراتكم

    مافي مشكلة لأن إنت عندك ال- frame componenets أصلاً initialized خارج ال- actionperformed لكن إذا بدك تعرف ال- dialog داخل أل- action performed غير هذا code if(++wrongPassCounter == 3) { wrongPassCounter = 0; // jlabel that displays the error message JLabel err…

    10 ديسمبر 2009 في 18:36
  7. اسئلتكم واستفساراتكم

    مافيك تعمل declare counter داخل actionperformed method لأن هذه أل method is invoked كل مرة بتكبس OK ما تعمل upload ل file.form but file.java

    10 ديسمبر 2009 في 17:23
  8. اسئلتكم واستفساراتكم

    /* * Replace your actionPerformed method with this one, it's better. * I hope this code is just a try because its not good to program in this way. * Inside the method you'll find comments, I hope its not problem that I write in english * I hope it's clear, if …

    10 ديسمبر 2009 في 17:03
  9. اسئلتكم واستفساراتكم

    جرب الأن pass2.rar

    10 ديسمبر 2009 في 15:00
  10. [مخالف - عنوان غير مناسب :]ممكن مساعدتي بالحل

    تمرين في visual basic ?java?

    10 ديسمبر 2009 في 12:47
  11. كيف بتتبرمج الصوره بالجافا ؟؟؟؟

    /** * Here is the complete code */ import java.awt.Color; import java.io.File; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; public class ImageDialogExample extends JFrame { public ImageDialogExa…

    9 ديسمبر 2009 في 22:21
  12. لمحاكاة لعبة السلوت ( Slot Machine) ماشين و لعبة ضربة حظ

    /** * Your code was very week, I changed it all for you, but I didn't test it properly. * If there is any mistake that you can't fix let me know. * I hope it's clear and helpful for you */ import java.util.HashMap; import java.util.Map; import java.util.Random…

    8 ديسمبر 2009 في 14:37
  13. استعمال المتغيرات ضمن نفس الحزمة package

    // First solution which is not recommended. public class Class1 { public static String APPLICATION_TYPE = "WEB APPLICATION"; } public class Class2 { public static void main(String [] args) { System.out.println("Application type: " + Class1.APPLICATION_TYPE); C…

    7 ديسمبر 2009 في 15:57
  14. [تنبيه - عنوان غير مناسب : ]سؤال عن كلاس السكانر

    import java.util.InputMismatchException; import java.util.Scanner; public class Test { // I write comments because I can't write arabic. // If you need more detailed comments let me know. public static void main(String [] args) { //first printed text System.ou…

    30 نوفمبر 2009 في 19:26
  15. كود من سي بلس بلس ما هو المكافئ له في الجافا

    public class MyClass { private String name; private char aChar; private int number; public MyClass(String name, char aChar, int number) { this.name = name; this.aChar = aChar; this.number = number; } /** * @return the name */ public String getName() { return n…

    27 نوفمبر 2009 في 15:06
  16. استفسار بخصوص تنسيق String

    Actually my code works properly. Probably your problem is in the font of the text area. Set the font to "Monospaced" and it should be fine If you still have any problem let me know. JTable is always better for such things :) but still this will work :)

    25 نوفمبر 2009 في 22:45
  17. استفسار بخصوص تنسيق String

    public String getStores (){ //maximum space final int space = 30; final String name = "Name"; final String id = "ID"; StringBuilder builder = new StringBuilder(); builder.append("Name"); for(int i=0; i<(space - name.length()); i++) { builder.append(" "); } bui…

    25 نوفمبر 2009 في 20:13