32,199 Topics
| |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
Can any one justify the use of inner classes with example(if possible) | |
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 … | |
[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); … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 | |
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 … | |
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 | |
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.*; … | |
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: … | |
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 … | |
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? | |
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, … | |
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 … | |
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 … | |
pls reply to this question how we can list systems in a network using java | |
pls tell me how to close runinning applications using java thanks |
The End.