IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Test

2 posters

Go down

Test Empty Test

Post by BIT0112-Rokon Tue Jul 27, 2010 9:22 am

Code:
import java.awt.Dimension;
import java.awt.Graphics;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class Test extends JPanel {
   public void paint(Graphics g) {
      for (int i = 0; i < 400; i = i + 20) {
         g.drawOval(20, 20, i + 10, i + 10);
         g.draw3DRect(20, 20, i + 10, i + 10, true);
      }
   }
   
   public static void main(String[] args) {
      JFrame frame = new JFrame();
      Test test = new Test();
      frame.add(test);
      frame.setVisible(true);
      frame.setSize(new Dimension(500, 500));

   }
}


and thanks to amit to add this section....
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

Test Empty Re: Test

Post by BIT0129-Tabassum Wed Jul 28, 2010 2:34 am

Whats this? You should give some description on what you are posting. I cant understand confused
BIT0129-Tabassum
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

http://probe-tabassum.blogspot.com

Back to top Go down

Test Empty Re: Test

Post by BIT0112-Rokon Wed Jul 28, 2010 3:49 am

This is nothing.. it was a test..

btw I requested to admin to make a section that is called something like paste bin so that we can paste some code there with some purposes. For say we everybody need a code, we know about that, so description is not so important ... we will use this section like this way...

better go through the link ... http://pastebin.com/
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

Test Empty Re: Test

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum