32,199 Topics

Member Avatar for
Member Avatar for sam1

hi everyone, iam trying to connect to server here is the code for connecting: [CODE]public void CONNECT_TO() { int port=200; if(t1.getText()=="") serv="localhost"; else serv=t1.getText(); try { port = Integer.parseInt(t2.getText()); } catch (Exception e) { } try { c_s = new Socket(serv, port); l3.setText("Connected to server " +c_s.getInetAddress()+":" +c_s.getPort()); form F=new …

Member Avatar for jwenting
0
102
Member Avatar for topito2

I am trying to download some applets for my physics class (my students like applets a lot) and cannot download them because I don't know how to interpret the tag CODEBASE="." The web page source code looks like this: -------------------------------------- <applet code="Lab.class" name="Lab" archive="Lab.jar" codebase="." width=640 height=440> <param name="simulation" value="single …

Member Avatar for topito2
0
133
Member Avatar for jado

I use ZoneAlarm Security Suite 6 and am having trouble getting rid of the Java.Shinwow.BA virus. Whenever I scan my whole Computer using the free Ad-Aware, about 15 Mintues into the scan ZoneAlarm virus scan results come up with the virus Java.Shinwow.BA. I can't get rid of the virus because …

Member Avatar for jado
0
330
Member Avatar for Reuben98

Hello, I am writing a java program that reads a flat file and process each record. I am maintaining a counter that keeps track of the record/ line being processed. I want to print this counter on the monitor screen. Using System.out.printf("Processing Record: %d\r", counter); is printing the the required …

Member Avatar for Reuben98
0
125
Member Avatar for sam1

hi everyone, when I compilt my client side, in command line I get this error. [CODE]Note: ChatClient.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.[/CODE] and when i recompile with the option i get this worning: [CODE]warning: [deprecation] readLine() in java.io.Data InputStream has been deprecated while …

Member Avatar for jwenting
0
60
Member Avatar for LiBOC

There are two things which I didn't or could not achieve with using maths.cos() from Java. First - When I calculate cos90 or cos270, it gives me absurb values. It should be 0. Meaning it cannot calculate if the angle lies on X axis. I tested with 91 or 271, …

Member Avatar for LiBOC
0
2K
Member Avatar for N[e]tt[e]

anyone can teach me about JComboBox ?? i nid to know how come my program .. 1) if i don't click anything on my JComboBox, how the system going to capture the default value? it returned a "null"

Member Avatar for N[e]tt[e]
0
158
Member Avatar for Jerchrome

i regularly go on this site called [url]www.asiantown.net[/url] but whenever i try to log on it shows a blank page with some writting on the side. Ivre reinstalled java program and even used the an old version but it still shows me a blank page. When i right click and …

Member Avatar for jwenting
0
86
Member Avatar for ramamoorthy

I've created checkbox and added events to it through js file which is included in the jsp. It works fine in IE but not in Mozilla Firefox 1.5. This is the code fragments. displayCheckbox.name = "Add_" +productid; displayCheckbox.id ="Add_"+productid; displayCheckbox.onclick = EventProducer.registerEventHandler(this, 'toggleSelected', [displayCheckbox, displayLI]); displaySpan.onclick = EventProducer.registerEventHandler(this, 'clickCheckbox', [displayCheckbox]); …

Member Avatar for Drew
0
95
Member Avatar for indianscorpion2

hi everyone, i am looking for a brief introduction as to what exactly is jdbc and how do i install and use jdbc drivers with oracle 9i. and how shoud i write a code to execute queries on the tables in my oracle 9i database.

Member Avatar for ramamoorthy
0
142
Member Avatar for Chipsncoke

What is the advantage of writing the button as a seperate class. Like [CODE]private class button implements ActionListener { public void actionPerformed (ActionEvent e){ { }[/CODE] chipsncoke

Member Avatar for N[e]tt[e]
0
130
Member Avatar for esharpvenkat

I would appreciate if some one can help me to outline the procesure of deploying a JSP applicationo on Eclipse IDE - along with plug ins required for it.

Member Avatar for fisheye
0
183
Member Avatar for cltsoi

whether it is true for following statments: the skill sets required to build an web-based application on Oracle XML DB Server and RDBMS are totally/almost different!

Member Avatar for jwenting
0
137
Member Avatar for sanjay_scjp

Hi, is it possible the html file convert to pdf documrnt and vice versa ? if, YES than I wanna source code for convert the html file to pdf document and vice versa. plzzz give me proper instraction. i m waiting for rite remady SANJAY

Member Avatar for clarinetalex
0
347
Member Avatar for Frank0051

Does anyone know of a way to control volume (gain) and/or balance (pan) of a Midi file during playback using Java Sound? Thanks

Member Avatar for Frank0051
0
79
Member Avatar for 786

Hey everyone, I'm really new to java and i was wondering if someone coudl help me get my output as: User Enters: canada c-a-n-a-d-a c-a-n-a-d c-a-n-a c-a-n c-a c It would be really awesome if some one could help me out please :mrgreen:

Member Avatar for server_crash
0
119
Member Avatar for rishik_data

Hi friends. I hv got a problem while sennding a file form one computer to another over network (lan). I can send data using server and socketserver but can not send files from one computer to another. can any one help me plz. or can mail me on [email]rishik_data@rediffmail.com[/email] Thanks …

Member Avatar for jwenting
0
83
Member Avatar for phani8123

i have written a jdbc program and compiled it successfully on running it i got a error: Exception in thread "main" java.lang.NoClassDefFoundError: com/microsoft/util/Ut ilDummyPrintWriter at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at DBCreate.main(DBCreate.java:7) the program code is as follows: import java.sql.*; import java.util.Properties; public class Rows { public static void main(String args[]) …

Member Avatar for jwenting
0
181
Member Avatar for dammika

:cry: ..i hav 2 hand over my java project soon..but i cannot figure out how 2 count da vowels in text i type inside ma textfield...i need a simple method because i just started java..i will be pleased if some one can send me commands for counting vowels in a …

Member Avatar for iamthwee
0
162
Member Avatar for sam1

hi everyone, I have some experience with netbeans, but it is my first time for a java application. I was wondering, as the main is already placed in a package, where would i place the other classes. Is there a rule or something. Because I saw the sample and the …

Member Avatar for sam1
0
106
Member Avatar for nizzy1115

I've been getting this message as zone alarm asks to allow or deny this ip address from sending email from my computer. I have been using Azureus to download the new Mandrake distro and my download speed stops and i get this message. (Its usually about after 4-5 hours of …

Member Avatar for DMR
0
351
Member Avatar for Frank0051

Hello, I'm currently creating a PlayList for a media application I am working on. I'm using a JList as the GUI object for the PlayList and a DefaultListModel as the storage area to be held in the PlayList. I was hoping that if I was to pass a DefaultListModel object …

Member Avatar for Frank0051
0
226
Member Avatar for carnelli

I have two small programs to develop. I don't think I am capable of doing them myself; although, they should be relatively easy for any seasoned programmer. Is anyone here available to develop two small projects for a small fee? If so, please send me an email: pointermann at hotmail.com. …

Member Avatar for Phaelax
0
80
Member Avatar for jigvesh

I am using :confused: eclipse on linux and am getting the following error message::: BasicService cannot be resolved to a type What can be the reason???and the remedy too???? Thanks in advance

Member Avatar for server_crash
0
100
Member Avatar for D Nagesh

Hi Guys, I want to build a personal firewall using java technology.Please help me guys. Thankyou Everybody.

0
52
Member Avatar for mcathymatthew

hi everyone!! I am a final year student doing software engineering.. I need help on my final year project. I am interested in music. i have an idea but i am not sure it can be finished in 7 months time or not. my plan is a sheet music reader. …

Member Avatar for hari_cseiitb
0
126
Member Avatar for k_en

why i got this error??? Is my java installation wrong? Exception in thread "main" java.lang.NoSuchMethodError:main press any key to continue.............................

Member Avatar for deeppython
0
268
Member Avatar for MonkeyCode

Hello DaniWeb, . I was hoping someone could help me with a portability issue. . I've created a jar in JBuilder Foundation 2005. Said jar executes successfully on computers Alpha and Beta, but not Cimarron. When I double-click on the icon on Cimarron, a small black window flashes up and …

Member Avatar for MonkeyCode
0
102
Member Avatar for sam1

hi I was wondering if i build my instant messenger using jabber protocol how different would it be from simply building it with pure java? thanks

Member Avatar for sam1
0
110
Member Avatar for LiBOC

Hi guys, Most of the codes for my Java applet is done. But I couldn't figure out how do we actually convert a hand written maths formula into java programming's syntex. Any advice and guides on this? Or what keywords u use to search the internet to find such things? …

Member Avatar for server_crash
0
242

The End.