Search Results

Showing results 1 to 40 of 46
Search took 0.01 seconds.
Search: Posts Made By: localp ; Forum: Java and child forums
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
This is a cleaned up version of my java Code.... :( i am lost !



import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JTree;
import java.awt.Rectangle;
import...
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JTree;
import...
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
i did.. if you my code above, i have followed each and every step of what you have said .. :(
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
I added this to the top of my code


public class Frame1 extends JFrame {
BorderLayout borderLayout1 = new BorderLayout();
JButton jButton1 = new JButton();
String h[]=...
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
I have created the tree, and the scrol Panel as seen in my code.and then added the scrolPane to my Frame .....

But theres no output as such. could some one help ..
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
But It doesn't work in my application. i am using JBuilder as my IDE. could you help me add the code to my application, ??
Forum: Java Sep 27th, 2009
Replies: 14
Views: 478
Posted By localp
i need to a Scroll bar or JScrollPane to My Jtree... I have googled and gone through several examples, but non seemed to have worked...

Please can some one help me to solve this problem .. I...
Forum: Java Jun 22nd, 2009
Replies: 1
Views: 266
Posted By localp
The code found below takes command lines arguiments and displays. I want to modify this code in anyway that it would take 2 set of command line arguiments and produces 2 outputs. (That means , Open 2...
Forum: Java Jun 20th, 2009
Replies: 6
Views: 456
Posted By localp
Since you are new to Java, its better if you use Netbeans or JBuilder, you simply have to drag and drop the Swing components and, Database connectivity is also fairly simple.
Forum: Java Jun 20th, 2009
Replies: 0
Views: 201
Posted By localp
I need to Stream Live Audio and Video, i went through a web site, and it gives a code,

http://www.cs.odu.edu/~cs778/spring04/lectures/jmfsolutions/examplesindex.html#transmitboth

in this, i...
Forum: Java Jun 15th, 2009
Replies: 1
Views: 399
Posted By localp
1.) I want to stream Live Audio, and i have chosen JMF to do it, i am an absolute beginner to JMF, so can anyone help me by providing me with some easy to understand Source codes of a Live...
Forum: Java Jun 9th, 2009
Replies: 7
Views: 1,279
Posted By localp
String sqll ="UPDATE Patient_Comp SET taken='Taken' WHERE ID="+x ;
int rs = stmt.executeUpdate(sqll);


thanks guys it worked !!!
Forum: Java Jun 9th, 2009
Replies: 7
Views: 1,279
Posted By localp
Then how can i update ?? what will be the java code for update
Forum: Java Jun 9th, 2009
Replies: 7
Views: 1,279
Posted By localp
java.sql.SQLException: No ResultSet was produced
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:259)
at shanesmed.DocDisplay.jButton2_actionPerformed(DocDisplay.java:150)...
Forum: Java Jun 8th, 2009
Replies: 7
Views: 1,279
Posted By localp
try {
//1.Load the database Driver class
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
//2.Make a connection to the database
Connection conn =...
Forum: Java Jun 5th, 2009
Replies: 3
Views: 749
Posted By localp
there will be a button call browse when the user clicks on it he will be able to browse through the file system and select a file to upload or save on apache server with is installed on the same PC....
Forum: Java Jun 5th, 2009
Replies: 3
Views: 749
Posted By localp
I am an absolute beginner in JAVA, i want to know how to upload and save an image in a prescribed folder. sorry, i tried my best to search for this in the net, but i couldn't find any related to...
Forum: Java May 21st, 2009
Replies: 3
Views: 2,095
Posted By localp
public void split() {
String s3 = "what ever the text you wish to have with new lines";
String [] temp_store= null; // array to store the separated string
temp_store =...
Forum: Java May 21st, 2009
Replies: 1
Views: 251
Posted By localp
i am trying to get an input from my mic, and amplify the sound, i started searching for sample source codes, and java sound amplifying tutorials, but i found none of them relevant.

so how can i...
Forum: Java Feb 24th, 2009
Replies: 2
Views: 664
Posted By localp
package testone;

import java.io.*;
public class fileread
{
private String[] a = new String[100];
String x;
String sh;

public void read(){
Forum: Java Feb 15th, 2009
Replies: 6
Views: 2,008
Posted By localp
thanks a lot, I'll try coding it, and if i come across any errors, I'll contact you guys,, thanks a lot.
Forum: Java Feb 13th, 2009
Replies: 15
Views: 618
Posted By localp
i have removed it in the code i sent u ...
Forum: Java Feb 13th, 2009
Replies: 6
Views: 2,008
Posted By localp
the prob is, that the player should not open ... and only the sound should play ..... like in gmail chat , wen a new message comes, a sound also plays...(but without opening a player)
Forum: Java Feb 13th, 2009
Replies: 15
Views: 618
Posted By localp
import java.io.*;

public class testSound

{public static void main(String[] args) throws IOException
{

int numberSuccess=0 ;
int number=0;
Forum: Java Feb 13th, 2009
Replies: 6
Views: 2,008
Posted By localp
i want to play an audio file in java without opening a player ...

like an alarm ...

does any1 knows how to do this.. and r there any sample codes available online ... (please provide relevant...
Forum: Java Jan 26th, 2009
Replies: 3
Views: 1,374
Posted By localp
Forum: Java Jan 26th, 2009
Replies: 3
Views: 1,374
Posted By localp
i want to know how to send sms from a java program, so far i am aware that you will need a sms gateway, but i dont know from at which point to start coding .... i am an absolute beginner, and i...
Forum: Java Jan 19th, 2009
Replies: 1
Views: 300
Posted By localp
i wont to use shocket programming to create a chat client. and the end users should be given a GUI interface. are there any sample codes available online .. please help me find some sample codes..
Forum: Java Jan 15th, 2009
Replies: 4
Views: 493
Posted By localp
Is there any way i could make this program running .. my ultimate goal is to communicate with other machines, located in another geographical location (using the internet), so this is my first step.....
Forum: Java Jan 15th, 2009
Replies: 4
Views: 493
Posted By localp
i am using my own PC, and its not connected to any network
Forum: Java Jan 15th, 2009
Replies: 4
Views: 493
Posted By localp
i am trying out this code that i got from one of suns tutorials, it deals with echoing an input back to the command prompt.

this is where i got the code ...
Forum: Java Dec 14th, 2008
Replies: 6
Views: 628
Posted By localp
what i wont is to Display a PDF document in a JFRame .... but if there is no way to do that, i would also prefer, if i could display a word file or a Powerpoint slides, on the JFRame ..

1st...
Forum: Java Dec 14th, 2008
Replies: 6
Views: 628
Posted By localp
no it didnt work.... i just want to display a text document in a JFRAME .... its okk, if its PDF or wat ever the type is,,, just a document....


plzz help.. i am really lost now
Forum: Java Dec 13th, 2008
Replies: 6
Views: 628
Posted By localp
i want to display a PDF file in a JFrame .. how do i code it, can some one send me the code for this..

i googled, it but couldn't find any .. plzz help me
Forum: Java Nov 19th, 2008
Replies: 1
Views: 1,096
Posted By localp
i am an absolute beginner in java . i want to generate a javadoc , i am using JCreator, so can your'll give me step by step instructions on how to create it... i googled but couldn't find a better...
Forum: Java Nov 19th, 2008
Replies: 4
Views: 432
Posted By localp
so how can i display the content of paint.. wat i am expecting here is to display the content of paint, from the main program.. how can i do that ??
Forum: Java Nov 19th, 2008
Replies: 4
Views: 432
Posted By localp
I want to know how to call the above function ???


import java.awt.*;
import java.applet.Applet;
import java.awt.event.*;

public class GridDrawingApplet extends Applet {

public void...
Forum: Java Nov 17th, 2008
Replies: 5
Views: 994
Posted By localp
this is what i am trying to do,,, i am trying to pass 3 int values in to the Color constructor...
and i want to see the correspoding colour of the integer to display ...

example if we pass 255 0...
Forum: Java Nov 17th, 2008
Replies: 5
Views: 994
Posted By localp
int r=245;
int g = 90;
int b =78;

Color c = new Color(r,g,b);

c. // <<--- then i dont know what methos to call

//and i am not sure how to display the colour
Showing results 1 to 40 of 46

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC