Majestics 84 Posting Pro

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

Majestics 84 Posting Pro
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
Majestics 84 Posting Pro

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.

Majestics 84 Posting Pro

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
Majestics 84 Posting Pro

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.

kvprajapati 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
Majestics 84 Posting Pro

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

#include<iostream>
           #include<conio>
           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;
}

I think it might help you..

Majestics 84 Posting Pro
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#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();
}

It will Help you !

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