31,001 Topics

Member Avatar for
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
234
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
173
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
194
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
111
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
284
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
68
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
207
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
130
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
214
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
824
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
133
Member Avatar for cyrogathoni
Member Avatar for r0n

hi everyone how should i move the data of the multiple text file to another text file... (for instance you have two text files readFile1.txt and readFile2.txt and you have to move the data of the two text files in another file which is writeFile.txt ) how should i read …

Member Avatar for r0n
0
4K
Member Avatar for blueandyellow

Hello. I've hit a brick wall on an assignment for class. I've included the instructions and what I have gotten so far. My major problem is converting the number for days of the week to the actual day. Any help will be greatly appreciated. Thanks! Insert code into the Clock …

Member Avatar for ithelp
0
267
Member Avatar for Pradeep.sibar
Member Avatar for leviathan185

Hi, I am just starting to learn Java and the tutorial i am using says i need to add the path that JDK is installed to but when i attempt to save the file it comes up access denied? I am running Windows 7 RC build 7100. Can someone please …

Member Avatar for leviathan185
0
183
Member Avatar for PhiberOptik

Hey I am sitting around here on my summer semester break. I am curious if anyone here is a java developer and actually makes good money at it? Basically I would like to know what kind of stuff you do, where you work from, office, home, etc. I'm just curious …

Member Avatar for BestJewSinceJC
0
139
Member Avatar for kaustubh.pandey

pls give me web based project topics in java ..with is different 4m others.n eay 2 built.n in that project pls not send me common project topic like library mngt ,airlines,etc........... pls send me some intresting topics which so different...ok n i m not want the high project topics....i m …

Member Avatar for llemes4011
0
78
Member Avatar for get2tk

Can u control Dynamic Link Library (DLL) file of a usb powered drive using java??? if not,what other code can control dll files and how can it be made to communicate with java codes.

Member Avatar for nmaillet
0
62
Member Avatar for JohnPhilipps

Good morning, I would like to ask for your help, I am working on getting a text file read using using a java applet, the content of that text file is generated with an object in the class TowersOfHanoiExecute TowersOfHanoi towersOfHanoi = new TowersOfHanoi( totalDisks ); after which I was …

Member Avatar for JohnPhilipps
0
752

The End.