You forget something....................

Majestics 84 Posting Pro

I have connected java with oracle and providing the facility of accessing data on the lan... I have also open a port, but still my java app over lan start very slowly after that it speed up, but at startup its very slow Y? Thank you for any suggestion

[CODE]
import javax.swing.;
import java.awt.
;
import java.awt.event.*;
import java.text.DecimalFormat;

/**
The Test class is an applet that calulates
ticket prices for a theatre.
*/

public class Test extends JApplet
{
private JPanel mPanel; // To hold a text field
private JPanel aPanel; // To hold a text field
private JPanel bPanel; // To hold a text field
private JPanel tPanel; // To hold a text field
private JPanel buttonPanel; // To hold a button
private JTextField member; // members
private JTextField area; // seating area
private JTextField ticketnum; // tickets
private JTextField total; // total cost

/**
init method
*/

public void init()
{
// Build the panels.
buildmPanel();
buildaPanel();
buildbPanel();
buildtPanel();

buildButtonPanel();

// Create a layout manager.
setLayout(new GridLayout(5, 1));

// Add the panels to the content pane.
add(mPanel);
add(aPanel);
add(bPanel);
add(tPanel);
add(buttonPanel);
}

/**
The buildtPanel method creates a panel with a text
field in which the user can enter whether they are a member
or not.

*/

private void buildmPanel()
{
// Create the panel.
mPanel = new JPanel();

// Create a label to display a message.
JLabel message1 =
new JLabel("Are You a Member (Y/N)?: ");

// Create a text field for the Member temp.
member = new JTextField(10);

// Create a layout manager for the panel.
mPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));

// Add the label and text field to the panel.
mPanel.add(message1);
mPanel.add(member);
}

private void buildaPanel()
{
// Create the panel.
aPanel = new JPanel();

// Create a label to display a message.
JLabel message2 =
new ...
NormR1 commented: Don't spoon feed by Giving full code -3

I already explained that i cant post my emotion with my message, so using word "slapped" isnt nice.... second i dont want 24/7 service but i just want a single to the point reply ..... Again i cant post my emotion with my message.

Hello............ Any one there...................................................

Majestics 84 Posting Pro

Please remove me from this website. I am feed up getting digest and threads from this website. Thank you in advance, please email me after removing my information.

BestJewSinceJC commented: man up and stop crying all the time. +0

Idiot, don't you see that search bar is open for all and i can see utorrent in them directly , all i need a experience programmer help for a good start not little snort like you. Go to hell.

__avd commented: No! No need of this. -1
masijade commented: tsk.tsk.tsk. If you want code, ask for code, so you can be immediately ridiculed. -2
nav33n commented: Behave. -1
Ezzaral commented: Tantrums not needed here. Move along. -2
Majestics 84 Posting Pro

I want to design utorrent client for my semester project in java, can anyone tell me where should i start and what are the necessary steps for this, also if any useful website and information. Thank you.

Salem commented: Yknow, you sounded like you wanted to do this yourself; apparently thouugh, you just need spoonfeeding like all the other "project" types. -4

Try to use Codes in Coding tags
Try to use cout statement out of looping statement .

[Code] #include

include
       int main()

{
int arr[10];
int i,j,sum=0,flag;

cout<<"Enter the Integers : ";
  for(i=0;i<10;i++)
     cin>>arr[i];  //Loop Takes ten integer 
       for(i=0;i<10;i++)
  { 
      flag=0;                   // Flag is assigned 0 intially
     for(j=i+1;j<10;j++)                   
      if(arr[i]==arr[j])         // Any integer repeat then flag becomes 1   
     flag=1;                         
   if(flag==0)                    //If any integer is repeated then it is not counted
  sum=sum+arr[i];
  }
 cout<<" Sum is :"<<sum;             //Sum is displayed

 return 0;

}

[/code]

I think it might help you..

[code=c]

include
include
include
define n 4

void main()
{
//variables

float table[n];
int no=1,i;
float x=0;
float d;
clrscr();
//program
for (i=0; i<n; i++)
{
printf("Enter the number %d : ", i);
scanf("%f", &table[i]);
}
for (i=0; i<n; i++)
{
if(x==0 && i!=0)
no=0;
else
x=table[i];
}
if (no==0)
printf("\nThe division cannot be made");
else
{
d=table[0];
for(i=1;i<n;i++)
d=d/table[i];
printf("\nThe division is %f ", d);
}
getch();
}
[/code]
It will Help you !

WaltP commented: Badly formatted code is rarely a help -2