31,001 Topics

Member Avatar for
Member Avatar for freesoft_2000

Hi everyone, Consider this URL. "http://forums.devx.com/newthread.php?do=newthread&f=104" Some URLs have something that are called escape characters("?", etc") Are these characters supposed to encoded using the URI class that has a method called toASCIIString() that returns the escaped characters as a US ASCII format or simply by direct connection or create a …

Member Avatar for jwenting
0
714
Member Avatar for ripdeath987

1. How can I send files as mail attachments in java? 2. How can I create a new directory everyday and save files in it? 3. How can I append into a file after saving the file with a save file sequence?

Member Avatar for jwenting
0
93
Member Avatar for jwenting

I try to use getClass().getPackage().getName() to get the package name of an object to insert into a log message. Sometimes it works, at other times it throws a NullPointerException. Does anyone have any insight into the conditions under which getPackage() returns null ('cause that's what's happening)? The classes in question …

0
82
Member Avatar for victoryn

Hi, I have developed the attached JAVA programs (*.java) and encountered compilation error (*.txt), it would be very much appreciated if you can help. Thanks, Victor

Member Avatar for freesoft_2000
0
321
Member Avatar for md16185

As far as programming Java and Javascript can be confusing... How do you do a java-based chat, any ideas?

Member Avatar for freesoft_2000
0
481
Member Avatar for rpratt

Hi, Has anyone had the following problem? When I run the following code (just using Notepad and my DOS prompt): public class MathFunctionsApp2 { public static void main(String[] args) { int b = -50; double x = 25.0; double y = 3.0; double z = 4.0; System.out.println("cbrt(x) = "+ Math.cbrt(x)); …

Member Avatar for server_crash
0
331
Member Avatar for zoltzer

I need a program that will need to do the following for me in order to keep track of grades or at least how to get started using an Array: Ask the user for the # of Math homework assignments Ask the user for the total points possible for Math …

Member Avatar for sam1
0
173
Member Avatar for Kennedy_f

I'm seeking for java2 certification. I downloaded ucertify product. Question are on right quality. Approx. 500 questions with study notes is quite enough for prepration. Challenging practice questions have been included to closely model the format, tone, topics, and difficulty of the real exam. Now they are giving 50% discount …

Member Avatar for jwenting
0
175
Member Avatar for mu42774

Hi, By the way, I used JAVA to run this simulator.However, my question is, I have to deliver this part of the assignment by 7th of August, but I am not sure if whatever I tried to explain on the [B]Explanation for the Summary Result File for TWO processes in …

Member Avatar for Sauce
0
117
Member Avatar for barrabomber

Hi, I'm having a problem creating a java program to generate odd numbers and then perform calculations on them. Some ideas and help are much appreciated. thx in advance

Member Avatar for server_crash
0
95
Member Avatar for zoltzer

I need any help I can get!! Below is my coding. When I run the program it just averages out all the numbers that I put in, which doesn't coincide with the homework assignment as stated right here: For this assignment, you will write a Java program that will determine …

0
94
Member Avatar for asatrujesus

I've figured out im using the wrong loop for the task at hand but im still wondering why it repeats this exactly 3 times: for(ch = (char) System.in.read(); ch != ('k' | 'K') ; ch = (char) System.in.read()) { System.out.println("sorry, you're incorrect!\n Guess again: "); } It prints this in …

Member Avatar for cheenu78
0
221
Member Avatar for George2

Hello everyone, I want to write an own CVS client in Java. And I am looking for the following materials, - CVS protocol specification - Education materials about CVS protocol - A simple open source CVS client in Java Could anyone help? thanks in advance, George

Member Avatar for George2
0
359
Member Avatar for Pete_R

Hello, My first post, a little nervous I am. I am starting with learning Java on the server side in servlets. I use Flash on the client side. What I would like to do is the following: [INDENT]client side: send xml file / receive xml file server: accept xml file …

Member Avatar for Pete_R
0
224
Member Avatar for asatrujesus

Im reading about logical operators (yes noob here) and Im sort of confused as to what some of them actually mean. Example: if b1 is true and b2 is false !(b1 & b2) is true b1 | b2 is true b1 & b2 is false b1 ^ b2 is true …

Member Avatar for freesoft_2000
0
318
Member Avatar for ripdeath987

First of all thanks everyone for the replies...They helped a lot. Now I want to mail multiple files as attachments also on 1 button touch...And how do i create a Directory to store files that I save . So far i have written this code but maybe you can upgrade …

Member Avatar for freesoft_2000
0
148
Member Avatar for gssharma16

plz send me the name of method to convert the string to individual char and Tell me wheather Character.parseChar() exit or not in JAVA. with thanks Ghanshayam Sharma (MCA Student)

Member Avatar for jwenting
0
123
Member Avatar for om1d_h

We are developing a web based accounting system. We have a server runnig Linux (switching to win is ok) and some clients all runnig win. In the program clients neeed to scan some document attachments and upload them to our servers. Some recommended to use Java applets. what do you …

Member Avatar for freesoft_2000
0
132
Member Avatar for hidleb

hi all, i have a javacard code for smart cards . my problem is how to add new functions for the credit method. The essential code is written but i couldnt edit my credit and debit method. could you help me with that please ? thanks

Member Avatar for freesoft_2000
0
154
Member Avatar for glamo

hi ti every one i am newbie , actually i want to develop a project using java actually the project is on "network mangment through SNMP" i woulkd like to know all baout how to start this project tell me about this byeeeeeeeeee :

Member Avatar for freesoft_2000
0
204
Member Avatar for higherGround574

I'm currenty using Eclipse for my compiler ... does anyone have any better suggestions?

Member Avatar for freesoft_2000
0
155
Member Avatar for cman

Im trying to compile a program but get this error javac:invalid flag:order.java-xlint and when i compile without -xlint i get the following Note: order.java uses or overided a deprecated API. Note:Recompile with -Xlint:deprecation for details

Member Avatar for server_crash
0
167
Member Avatar for dmissai

hey i am try to design webserver by using java /C++ programming or any programming language so if any one interesting to assist me i am attaching source code hear .you can use plugs in to access source code by using any programming language

Member Avatar for jwenting
0
138
Member Avatar for mmiikkee12

Is there any way to write an operating system in Java? I know it's possible to use C, but I prefer Java. It's easier to use.

Member Avatar for Sauce
0
681
Member Avatar for CoolHandLuke

I have a couple problems here that I have answered. I am not 100% sure of my answer(s). Would you be so kind as to check them and provide suggestions if they are not correct. These 2 questions are regarding what methods super/sub class(es) can invoke (question1) and which objects …

Member Avatar for Sauce
0
101
Member Avatar for asatrujesus

In the java book im reading (Java: a beginner's guide by Herbert Schildt) it usually displays the main as such: public static void main(String args[]) { but often in this website I see code written as this: public static void main(String[] args) { Is there a functional difference between the …

Member Avatar for freesoft_2000
0
208
Member Avatar for bobr_1013

Hi all, I'm new to Java. I'm having a problem with a program which will compile but not run. When I run it, I get the following error: java.lang.NoSuchMethodError: main Exception in thread "main" ----jGRASP wedge2: exit code for process is 1. ----jGRASP: operation complete. The name of the program …

Member Avatar for bobr_1013
0
163
Member Avatar for joshSCH

Ok well i have tried manually creating jars and manifest files, none of which seemed to work. I recently discovered that you can create a jar through JCreater-Tools. I created the jar file and unzipped it to get the META-INF folder containing MANIFEST.MF. I modified the manifest file so that …

Member Avatar for joshSCH
0
155
Member Avatar for gokul

Hai, i am doing project in VoIP in Java... I am using Swing for designing purpose.. so i want to design the screenings by using GUI Builders for swing.. i need ur help that what r the different GUI builders..? which one is best and simple and also where i …

Member Avatar for jwenting
0
211
Member Avatar for server_crash

Take just this simple method from the graphics class: fillOval()....Why is it abstract? Or better yet, where does it become concrete? I know I've never had to create my own implementation of that method.

Member Avatar for jwenting
0
446

The End.