Posted a new cod try catch | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4

Posted a new cod try catch

java

7th Aug 2017, 2:46 PM
‎محمد النزهي‎
‎محمد النزهي‎ - avatar
9 Answers
+ 10
Type in English, please😄
7th Aug 2017, 3:15 PM
💞ⓢⓦⓐⓣⓘ💞
💞ⓢⓦⓐⓣⓘ💞 - avatar
+ 8
يا محمد اكتب بالإنجليزية لازم تاخذ دروس الجافا كامل
8th Aug 2017, 2:49 PM
mohammed al-sarem
mohammed al-sarem - avatar
+ 4
Translation ↓ I want to explain how the program works
8th Aug 2017, 4:04 AM
Ekansh
+ 4
@swati in Q/A Discussions encountering Questions with different languages is common so I would like to suggest you to install G-Board... It has built in Translation feature (Google Translate) + Google search ! 😃
8th Aug 2017, 4:07 AM
Ekansh
+ 3
Translation ↓ How to make a Java program for Android Action programs
8th Aug 2017, 4:02 AM
Ekansh
+ 1
Thank you my friends. I wanted to know how the program works
8th Aug 2017, 3:32 PM
‎محمد النزهي‎
‎محمد النزهي‎ - avatar
+ 1
But I knew that the program is broken, but after downloading the environment
9th Aug 2017, 2:53 PM
‎محمد النزهي‎
‎محمد النزهي‎ - avatar
+ 1
yes
12th Aug 2017, 4:31 PM
‎محمد النزهي‎
‎محمد النزهي‎ - avatar
0
I want the output of this code. import java.awt.Grapics; import java.awt.color; import java.swing.jpanel; public void color jpanel extends jpanel { public void paintcomponent (Grapics g){ } super.paintcomponent (g); this.setbackground (color.white); g.setcolor( new color(255,0,0)); g.fillrect(15,25,100,20); g.drawstring("current RGB: " + g.getcolor(),130,40); g.setcolor(new color (0.50f,0.75f,0.0f)); g.fillrect (15,50,100,20); g.drawstring ( "current RGB: " + g.getcolor(),130,65); g.setcolor(color blue); g.fillrect (15,75,100,20); g.drawstring ( "current RGB: " + g.getcolor(),130,90); color color = color.magenta; g.setcolor(color); g.fillrect (15,100,100,20); g.drawstring ( " RGB values: " + g.getred() + " , "+ color.getGreen () + " , " + color.getblue (),130,115); } }
12th Aug 2017, 4:41 PM
‎محمد النزهي‎
‎محمد النزهي‎ - avatar