code2263
- Recursion
http://mindprod.com/jgloss/recursion.html http://danzig.jct.ac.il/java_class/recursion.html
- لو سمحتوا
طريقة الكتابه لملفات و الشاشه واستقبال الأوامر من الكيبورد كلها تحتاج java.io package روحي للِAPI وشوفي طريقة استخدامها اسف ما اقدر اساعدك اكثر من كذا... إذا عندك سئوال محدد . سأكون أول المجاوبين :))
- درس: كيف تجعل JButton هو Default ؟؟؟
شكرًا على المعلومات القيمه ....كنت أبحث عن شيء مشابه منذ وقت طويل.. شكرًا مرتين :)
- Thread with GUI
يمكنك إضافة حقلTextField لل JFrame و بعدين تعرض الأوت بت بعدين سوف اضع مثال على ذلك ولكن في وقت لا حق
- Thread
أسف على التأخير.... المبرمج1: you can created any number of classes that extend Thread class. and so you can have many threads that do different things. Does that answers you question?. if not plz let me know السكب: الـThreads لا تظمن لك أي ترتيب من ناحيد أي T…
- هذا كرم اكرم الاكرامين
جزاك الله خيرًا
- Thread
هذا كود يستخدم Threads وسوري على التأخير /* * Count.java * * Created on April 10, 2004, 12:21 AM */ /** * * @author code2263 */ public class Count { /** * @param args the command line arguments */ public static void main(String[] args) { Counter counter1=new C…
- قراءة احرف عربية من ملف
جرب اظهار الكتابه على GUI بدل من System.out.println الخط المستخدم في command window لا يدعم الـ UNICODE على حسب علمي
- لم أعد أستطيع الإقلاع على Linux
يا شباب لا تزعلون مني بس لينكس غثه ما يسوى فص ثوم خلك على الوندوز تراه افضل نظام تشغيل للبي سي على الإطلاق...كل شي تسويه على الويندوز اقصر 10 مرات في الوقت والجهد منه على نظام اللينوكس. أنا اتكلم عن خبره فأنا اشتغلت فترة 3 شهور على ماندريك 9.2 حتى اقتنعت بالنت…
- مساعده عاجلة في حل موضوع هالبرنامج
هذا هو السودو كود (خريطة البرنامج) number=String(textFiled) a = len(number) count =0 for i = 1 to a if charAt(i)=='7' then count++ next i print "Number of 7's in string is "+count عليك كتابة الكود بالشكل الصحيح اتمنى أن اكون افدت بالشكل المطلوب
- Moving Object
هذه الطريقة هي الأسلم ليعمل الكود في الحالتين 1- باستخدام طريقة Classes كلها مجمعه في مجلد واحد 2- تجميع الملفات في أرشيف مثل ملفات الjar و zip. بالتأكيد عندما تصمم برنامج لأحدٍ ما سوف تقوم بتسليم ملف واحد يحتوي كل شيء بدلآ من تسليم عده ملفات( *.class و *.jpg …
- A fresh look
ممتاز جدًا شركة SUN هي الأفضل... كمبرمج بلغة الجافا..شركة SUN تشعرني بالإطمئنان لأنني اعرف ان ما تعلمته سيضل ينفع لمده عشر سنوات على الأقل.... شكرًا لك يا مبرمج1 على الخبر المشجع....
- GUI question
you will have to put drawing code in a method called pain(Graphics g) If you didn't overwrite this method the drowings will be removed after any events that requires the frame to redrow itself. try that see if it works
- وش رايكم في هالبرنامج
I don't see any errors The line where the error is generated is where the sound is played. If you hear the sound then you souldn't have any problems in that line. Ary you using my jar file? or do you compile the code yourself? if so tell me about the folder ad…
- Thread
Nice Idea !!! But you are not using threads. you are calling a function "printThread" on onther class. That could have been done without extending the "Thread" Class. One more thing, to fork a new thread you have to write this code ThreadObject.start(); which …
- Moving Object
Yeah, u were right about the file name problem. The code works just fine. But as I said earlier, the movement isn't smooth. I worked on that and this is what I got... hopefully you will notice the difference. /* * code2263 */ import javax.swing.*; import java.…
- وش رايكم في هالبرنامج
I run the code myself and I got nothing. Are u sure You used Sun's version of java virtual machine?? By the way, do u hear sounds when the balls hit window boundries?
- Moving Object
main البرنامج لا يحتوي على وObject لايتحرك ولكن في كل محاولة للتحريك يظهر وميض blinking. اعتقد انه لا مفر من الرسم البطيئ إلا بإستخدام void paint. شكرًا جزيلاً على تفاعلك
- java getIP
كما تعودنا من لغة الجافا...الأشياء التي تبدو شبه مستحيله في لغات البرمجة الأخرى تظهر عملية تافهه في لغة الجافا. وهذا البرنامج مثال على ذلك هذا البرنامج يقوم بكل بساطه بطباعة رقم IP import java.net.*; public class getIP{ public static void main(String [] args){…
- Moving Object
Good Stuff!!! I was doing the same thing one day (I was trying to making a game actually) and one question pop up. can u make movement smoother? I mean showing more than one move for each key strike. I tried calling revalidate() and repaint() and non of them w…