Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

simple frame/applet program

  Asked By: Meenachi    Date: Apr 26    Category: Java    Views: 1976
  

this is prince luke and i want is that a simple frame/applet program
which should act as a client and that program should send an request to the
servletand inturn get the response from the servlet.anyone if u knows abt this
give me an idea and also if u send me the code it's tooo great.thanx in advance
whoever sending to me.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Catherine Joe     Answered On: Apr 14

import javax.swing.*;
public class frame1 extends JFrame
{
JFrame f;
frame1()
{
f=new JFrame("Creation of Frame");
f.setVisible(true);
f.setSize(250,250);
// f.setLocationRelativeTo(null);
}

public static void main(String args[])
{
frame1 fr=new frame1();
}

}

 
Didn't find what you were looking for? Find more on simple frame/applet program Or get search suggestion and latest updates.




Tagged: