Sunil Babu

Greenhorn
+ Follow
since Feb 04, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sunil Babu

Hi all,
Please help to deploye JSP in weblogic 5.1
the changes that i must make in weblogic properties file
bye
21 years ago
Hi all,
I am a beginner to JSP code and i got Weblogic Server 5.1 and i want to know the basic steps that are involved in order to run JSP pages in weblogic Server5.1
how to set up weblogic server 5.1 ,properties and so on..
Thank You
Sunil
21 years ago
Hi ALL,
I need your help .
The problem is i am totally confussed regarding this problem.How to add components to any component and the thing is the container to which iam adding should a colored one
so please guide me
bye
21 years ago
Hi ,
I got this problem
" iam not able to add components to the frame(JFrame) which i created it below is the code which i used if u got any suggestions please do advice me
bye

import java.util.*;
import java.awt.Graphics;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.Timer;
public class Swg extends JFrame implements ActionListener
{
Timer tm;
JLabel l1,l2;
JTextField t1,t2;
JButton b1,b2;
JPanel pn;
Swg()
{
tm = new Timer(10000,this);
tm.start();
java.awt.Container cn = this.getContentPane();
pn = new JPanel();
l1 = new JLabel("User ID");
t1 = new JTextField(10);
l2 = new JLabel("Password");
t2 = new JTextField(10);
b1 = new JButton("Login");
b2 = new JButton("Exit");
pn.add(l1);
pn.add(t1);
pn.add(l2);
pn.add(t2);
pn.add(b1);
pn.add(b2);
cn.add(pn);
setVisible(true);
}
public void actionPerformed(ActionEvent e)
{
if (e.getSource() == tm)
{
System.exit(0);
}
repaint();
}

public void paint (Graphics g)
{
setForeground(java.awt.Color.orange);
g.fillRect(0,0,500,200);
setForeground(java.awt.Color.black);
g.drawString("HELLOOOOOOO",30,30);

}
public static void main(String[] args)
{
JFrame f = new Swg();
f.setSize(500,200);
f.setLocationRelativeTo(null);
f.setUndecorated(true);
f.show();

}
}//eof clas Swg
21 years ago
Hi all,
i would like to know how to remove title bar from a JFrame
hope i get one answer
21 years ago
Hi,
ijust want to know why do we always have a square or rectangular shaped frames or windows why dont we have user defined interface like various shapes circle,ovels so that we can place some components on them instead of very old rectangulat or square shaped ones
bye
21 years ago
hi ,
i need some solution so that i can remove title bar from a frame something like splash screen in VB
bye bye
21 years ago