background_ = new GSegment();
GStyle backgroundStyle = new GStyle();
backgroundStyle.setBackgroundColor (new Color (122, 136, 161));
backgroundStyle.setForegroundColor (new Color (0, 0, 0));
background_.setStyle (backgroundStyle);
addSegment (background_);
JPanel p = new JPanel();
p.setLayout(new GridLayout(4, 4));
String buttons = “789/456*123-0.=+”;
for (int i = 0; i < buttons.length(); i++)
addButton(p, buttons.substring(i, i + 1));
add(p, “Center”);
Sunday, October 11th, 2009 »
Posted By Ranjith » Total 4 Comments
Electrical technology has been greatly enhance with the introduction of wireless communication. Wi-Fi is the one among the achievements. The term Wifi stands for Wireless fidelity. Wi-Fi is a brand originally licensed by the Wi-Fi Alliance to describe the underlying technology of wireless local area networks (WLAN) based on the IEEE 802.11 specifications. It was [...]
Saturday, October 10th, 2009 »
Posted By Ranjith » Total 8 Comments
Today’s computer systems, with their emphasis on high resolution graphics, full motion video, high bandwidth networking, and so on, go far beyond the capabilities of the architecture that ushered in the age of the personal computer in 1982. Modern PC systems demand high performance interconnects that also allow devices to be changed or upgraded with [...]
Saturday, October 10th, 2009 »
Posted By Ranjith » Total 2 Comments
Introduction: Amplifier device that accepts a varying input signal and produces an output signal that varies in the same way as the input but has larger amplitude. The input signal may be a current, a voltage, a mechanical motion, or any other signal; the output signal is usually of the same nature. The most common [...]
BufferedReader cin=newBufferedReader(newInputStreamReader(sk.getInputStream()));
PrintStream cout=new PrintStream(sk.getOutputStream());
BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
ServerSocket ss=new ServerSocket(2000);
Socket s=ss.accept();
BufferedReader br=new BufferedReader(newInputStreamReader(s.getInputStream()));
double rad,area;
String result;
figure f=new figure(45,6);
rectangle r=new rectangle(10,30);
triangle t=new triangle(10,20);
figure a;
a=f;
System.out.println(a.area());
Sunday, October 4th, 2009 »
Posted By Ranjith » Total 6 Comments
Color c1=new Color(35-i,55-i,110-i);
g.setColor(c1);
g.drawRect(250+i,250+i,100+i,100+i);
g.drawOval(100+i,100+i,50+i,50+i);
g.drawLine(50+i,20+i,10+i,10+i);
Sunday, October 4th, 2009 »
Posted By Ranjith » Total 6 Comments
public void init()
{
addKeyListener(this);
requestFocus();
setBackground(Color.green);
setForeground(Color.blue);
}
This is the one stop educational site for all Electronic and Computer students. If you want to learn something new then we are here to help. We work on Microcontroller projects, Basic Electronics, Digital electronics, Computer projects and also in basic c/c++ programs.
#Home #Sitemap #Submit #Terms of Use
Copyright©2011 electrofriends.com All Rights Reserved
Contact:info@electrofriends.com | Powered by Dhyeya