32,199 Topics

Member Avatar for
Member Avatar for sharao

hi frnds [url]http://localhost/project[/url] using the above url iam running my project how to run when i type my project in uppercase like this url [url]http://localhost/PROJECT[/url]

Member Avatar for sharao
0
117
Member Avatar for nigelburrell

Hi, I'm not entirely sure which forum to post this question because I cannot determine whether it's a MySQL, Joomla, or PHP issue. But I will post it here, as some of you may know about this. I am using a custom built "user" table in my MySQL database, and …

Member Avatar for nigelburrell
0
163
Member Avatar for nam5a

I've created my own recursive file search. When the file is found it is printed that it is found, but the method searchForFile() does not terminate once the file is found, it continues to iterate and I believe this is when the nullPointerException is invoked. I've looked over this and …

Member Avatar for nam5a
0
147
Member Avatar for Acidburn

Hey guys, I've got a mobile application written which can browse through directories on the handheld device. This links to a C# application on windows via a usb cable (Simple phone cable). now i'm wondering how to go about transfering a file from the device over the serial conection and …

Member Avatar for di2daer
0
109
Member Avatar for adyopo

Ok, so my problem is this: I did a little java program to take the number of seconds from a text box and sleep a thread for that amount of seconds. Just to make it clear, here is the piece of code I used: [CODE=java]jTestare.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent …

Member Avatar for adyopo
0
128
Member Avatar for painless
Member Avatar for BestJewSinceJC
0
98
Member Avatar for lovley

Hey you guys, I am finishing my last two assignments in my class and I am having trouble because as you will see, the directions are not as they appear. My class is online so I don't have anyone I can rack my brain to or with and did I …

Member Avatar for VernonDozier
0
238
Member Avatar for karamjeet2004

[code=java]import javax.swing.*; import java.awt.*; import java.awt.geom.*; import java.sql.*; public class panel extends JFrame implements ActionListener { ResultSet res; Connection conn; Statement stat; String lang; JFrame frame = new JFrame("Graphics Button"); lang="abc"; JButton b1; JLabel l1,l2,l3; JPanel p,p1,p2,p3,p4; p.setSize(100,100); p.setLayout(new GridLayout(3,0)); p1=new JPanel(); p2=new JPanel(); p3=new JPanel(); p4=new JPanel(); l1=new JLabel(lang); …

Member Avatar for karamjeet2004
0
183
Member Avatar for akulkarni

i wish to print something like this ******** r ******* er ter uter puter mputer omputer computer where * is a blank space for each line i used array of strings String []s1=new String [20] for 5 blank spaces i used s1+" " + " "..+(5)"" then 4 blank spaces …

Member Avatar for VernonDozier
0
197
Member Avatar for akulkarni

i was trying to explain a friend about interface i have followed the abstract concept but dont know to how to demonstrate [code] inteface a { void meth(int i){ }; } class dani implements a { public static void main(String args[]) {int i; public void meth(5); System.out.print(i); } }[/code] if …

Member Avatar for JamesCherrill
0
88
Member Avatar for tactfulsaint

please how do i go about this RMI project it has been giving me alot of trouble Problem statement A management wishes to automate and centralize the entire system so that the data can be stored in one central dtatabase. the system should consist of client/server architechture that can enable …

Member Avatar for tactfulsaint
0
113
Member Avatar for pradeepptp

when i use PacketCapture class in my project i got this error.please let me know the procedure fir solve this. PacketCapture: loading native library jpcap.. Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\jpcap.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at net.sourceforge.jpcap.capture.PacketCapture.<clinit>(PacketCapture.java:119) at VirtualWatch.addToolBarButtons(VirtualWatch.java:98) …

Member Avatar for masijade
0
288
Member Avatar for breakid

Hi I have to servers on is handling with string (recive an send string) the second is handling with file copy (working with string ) I wont to merge them into one server. but it wont work. can you help me plz. the file is on rapidshare but the status …

0
54
Member Avatar for thrusai

Can someone help me parse a XML string using SAX parser and then validate the same against the XSD defined' I have the program that works when I pass the input xml and xsd as arguments but my requirement involves passing a input string containing the target XML and the …

Member Avatar for thrusai
0
100
Member Avatar for Debby0424
Member Avatar for dchaosblade

Hey, I'm hoping someone can give me a hand here...I'm currently writing a JApplet which uses several buttons on several different JPanels. Two of these buttons use an image and label (e.g. I did [icode]contestant.setIcon(cc); contestant.setText("C.C.");[/icode] where contestant is the button, and all formatting occurs just after and the Image …

Member Avatar for dchaosblade
0
155
Member Avatar for Debby0424

[code=JAVA] import java.util.Arrays; // Class that hold a collection of CD objects class Inventory { // maximum number of CDs that will be held static public final int MAX_NUM_OF_PRODUCTS = 10; private CD products[] = new CD[MAX_NUM_OF_PRODUCTS]; // number of CDs currently in the inventory private int numOfProducts; // default …

Member Avatar for Debby0424
0
228
Member Avatar for Hockeyfreak889

how would i display a yes/no dialog that would return one value if the user clicks yes and another value if they click no. I know you can do it using some part of JOptionPane but im not sure what

Member Avatar for BestJewSinceJC
0
69
Member Avatar for claudiu_is

I`m trying to write a web crawler but i `don`t know how to handle the situation when i have to login to acces a site. [B]How to type in that login form from my java program?[/B] I`ve searched on the net but the results points to JSP. I haven`t worked …

Member Avatar for dkhang
0
182
Member Avatar for Acidburn

Hey guys, I'm trying to access the file system of a Nokia device which operates on Symbain OS 60. Is this possible with Java? I've googled around but can't seem to find much... Most likely my search terms. Could someone point me in such a direction? Thanks, John

Member Avatar for di2daer
0
272
Member Avatar for painless

plz help me out ... i m using the following code to display an image which resides on my pc (C:\Users\vivek\Pictures\firefox,JPG)... but when i run the code ....there is no compile time error..n also not any run time error..n the output is a empty frame :'( [code=java]import java.awt.*; import javax.swing.*; …

Member Avatar for painless
0
131
Member Avatar for Nitz

Hey everyone. I need a bit of advise on my code. Here is a sample image. [quote] ^ 20+ | | | | 15+ | | | | 10+ | | | | 5+ | | | | +----+----+----+----+----+----+----+----+> 0 5 10 15 20 25 30 35 40 Upper Left: …

Member Avatar for ~s.o.s~
0
216
Member Avatar for athlonica

Hi Guys! I need help with something that I can't figure it out on my own. I'm working with an XSLT stylesheet that constructs some URLs that are finally presented as an html page. I want to add to one of those URL a variable that I know how to …

Member Avatar for xml_looser
0
87
Member Avatar for llemes4011

Hi. I started looking into JavaMail today, and I got the basics down. But when I sent a message to my friends Gmail account, it said that the message my not be from me, and was sent to spam... does anyone know why?

Member Avatar for llemes4011
0
94
Member Avatar for llemes4011

I'm writing an Email Client, and I need a JSplitPane that splits 4 or 5 JPanels instead of 2. I looked around and didn't really see anything that looked like what I need. I need it so I can adjust the size that is allotted to the subject, sender, date, …

Member Avatar for llemes4011
0
827
Member Avatar for jamojo

Hello Everyone, I am using ths class as my reusable SQL select for my queries in other classes. But when I used this in other classes, it generated me this error: java.sql.SQLException: Network error IOException: Address already in use: connect Can anyone give me some idea or advise on how …

Member Avatar for jamojo
0
178
Member Avatar for stevnlon

I wonder if i could pick anyones brains on somthing? [CODE]public void show(String add) { try { statement.execute("select * from Staff_Details WHERE Address2 =" + add); [/CODE] This is a section of code im working on. The string variable add at the end of the SQL statement is not working …

Member Avatar for masijade
0
134
Member Avatar for cyrogathoni
Member Avatar for Pradeep.sibar
0
42
Member Avatar for Pradeep.sibar
0
32

The End.