السلام عليكم ورحمة الله وبركاته
أنا صديقة جديدة بالمنتدى وأتمنى ماأكون صديقة ثقيلة
أنا بصراحة طالبة جامعية قسم حاسب وادرس جافا وانا اسوي سيرش بالنت لقيت موقعكم وعجبني
واستفدت منه كثيييييير
وعندي برامج طلبتها الأستاذة ابي اسلمها السبت ياليت تساعدوني فيها
البرنامج الأول:
•Write a program that draws a 10-by-10 grid.
•Draw the grid by using class Rectangle2D.Double and method draw of class Graphics2D.Hints:
•Cast the Graphics reference g received by method paintComponent to a Graphics2D.•Create nested for loops that will control the location of each square.
البرنامج الثاني:
•Write an application that draws a cube. Use class GeneralPath and method draw of class Graphics2D.
البرنامج الثالث: •Write an application that draws lines of random lengths, colors and thicknesses. Use class Line2D.Double and method draw of class Graphics2D to draw the lines.