1 2 3 4

Is There Java Source Code For Something Similar To Yahoo E-mail?

396 byte By jiapei_jena at 2007-9-29 5:30:12
The web site project I am working on will provide a feature that is similar to the Yahoo e-mail, i.e.1. all the received e-mails will be stored in the "individual inbox" for viewing and the user can 'reply' to those messages.2. users can 'compose' and 'send' e-mails.I do not want to ...

How to calculate days between two given Date?

209 byte By zero_zero_zeroa at 2007-9-29 5:32:55
I want to calculate how many days between two given days.for example:04/06/2003(04June2003) - 17/07/2003(17July2003)how to calculate 44? this 44 should be Int type.thanks lot

about serversockets

447 byte By alok2k3a at 2007-9-29 6:20:16
i wrote a multiclient chat server which runs perfectly. when the internet conection is offline.But as soon as i start the net service (website,chat etc.) my multiculient chat server throws exception and get crashed (my net connection via cableline not dialup).what could be reason behind it is ...

War file reading permission

704 byte By hfs1981a at 2007-9-29 7:06:45
I am trying to deploy a war file on a server but I am getting an error that the war file does not have reading permission. The war file looks something similar to thisMETA-INF/manifest.mfWEB-INF/web.xmlWEB-INF/classes/file1.classWEB-INF/classes/prop.propertiesTEMPLATE/file.xmlThe file1 class ...

javax.comm on pocket pc / MIPS ?

247 byte By slomomana at 2007-9-29 8:49:31
I just downloaded suns communication api javax.comm.it's for communication over serial and parallel-ports.does it run on Pocket PC, too?does it run under J2ME?does it run under the J2ME - MIPS profile?thx

Activating an image scanner.

187 byte By cotonsky@sun.coma at 2007-9-29 9:45:54
I am writing an application and need to activate an image scanner from the program using a button built into the program.Could someone please let me know how to achieve this.Thanks

JDK1.5 (Tiger) and JCP

1311 byte By attiasra at 2007-9-29 11:47:38
Hi, a beta of JDK1.5/Tiger is supposed to be out by the end of the year. We've heard million times about the new language features (generics, autobox, ...) but nobody ever mentions which of the additional JCP will make it. The list of JCP supposed to be in 1.5 can be found at ...

how could i send icmp datagram using socket?

65 byte By yizhu2000a at 2007-9-29 12:27:23
Is something like ICMP socket available in the latest jdk?

cannot build jrs80_ri.jar with ANT?

1417 byte By richardwata at 2007-9-29 13:27:32
Since i've setup ANTafter i use "ant -verbose" command at current directorylog file told me that=================================================================================Apache Ant version 1.5.4 compiled on August 12 2003Buildfile: build.xmlDetected Java version: 1.4 in: D:\Program ...

traffic light applet help me

761 byte By djdarylfa at 2007-9-29 14:23:57
Hello i am a student at the HOGE SCHOOL VAN AMSTREDAMand i have recently started using java's jbuilder and i am leraing how to program in java, which i find very joyful although it can be sometimes very frustrating.My problem is i have to make a trafficlight applet:class trafficlight.4 traffic ...

please help!

596 byte By Dizzyhaa at 2007-9-29 15:00:34
Here is a situation:Use a single-subscripted array to solve the following problem: Write an applet that inputs 20 numbers, each of which is between 10 and 100, inclusive. As each number is read, display it only if it is not a duplicate of a number already read. Provide the 齱orst case?in which ...

Abstract and Interface

100 byte By rajneetbhatiaa at 2007-9-29 16:23:16
Dear Sir/Madam,Please let me know the difference between Abstract class and Interface.

Why my UDP messages were blocked?

262 byte By fool_leavea at 2007-9-29 18:51:02
I used two DatagramSockets in my server part.One is to listen client's login,and write down his InetAddress and port,the other is to send messages to the InetAddress and port .But if the client is behind a proxy server ,the messages will be blocked.why?

Can not find the ports

171 byte By coral9527a at 2007-9-29 20:00:41
I use javax.comm to access the serial ports. On my IBM T40, it runs , but on the desktop PC , can not find the ports. Why? Help me please.-- coral9527

java program to access the modem

274 byte By Dipu77a at 2007-9-29 21:06:57
Hi,I want to use java program to access the modem on windows.I have dowloaded the javax.com api for it. Can I use it to communicate the modem through the serial port.If any one has tried this earlier please help me out.Thank youDipu

Saying A means saying B

22174 byte By yuagurua at 2007-9-29 21:10:03
SAYING A MEANS SAYING B...sooner or later. No one for quite long time don't even date to propose new language features in Java. I think this happened because authors of Java explained in detail why some features of C++ was absent in the language. One could even suppose there nothing to add to ...

How to communicate btw 2 running Java programs

175 byte By MinaEGya at 2007-9-29 22:29:43
Hello ,i have 2 running java programs how can i communicate btw em without using socketsthe 2 programs running on localhostplease helpthanks

NIO Socket and Windows telnet

282 byte By tigertdfa at 2007-9-30 0:31:10
I used NIO to construct a server application, but when I access it via windows telnet(C:\windows\telnet.exe)every character input will activate the server to deal it. How to avoid it.I mean that before I click return key, the registerkey has become readable().

What is JCP?

189 byte By has_star at 2007-9-30 5:00:28
What is JCP?i saw it at http://www.sun.com/emrkt/joinjcp/what is the advantage and disadvantages in joinging JCPis it free membership or paid one ?

Why do you need a fax machine

71 byte By mlk at 2007-9-30 6:08:24
Use email **** it.Fax machines are evil, old tech.

Is the Java Communications API Compatible with WinXP, WinModem?

430 byte By alchemista at 2007-9-30 7:20:36
I'm trying to use the Communications API, but no matter what I do, it always detects 0 ports.I am running Windows XP and have a WinModem. Does anyone know if the Comm API is compatible with the combination of JDK1.4.2/WinXP/WinModem?Under my device manager it lists no COM ports, so it seems ...

JAVA USB detection

709 byte By devil_himself at 2007-9-30 7:37:10
Hi all, I am developing an application that requires to read a properties file from the USB memory stick. I have tried the Open Source jUSB. The API's in that allow you to detect the USB. But it doesnt tell you which drive the USB is on (for eg. USB drive is E drive on my laptop). I need the ...

How to print PDF files using java print API

250 byte By jayakumarsin at 2007-9-30 9:04:58
Hi,I was goign throw lot of discusion and reading lot of forums related to print pdf files using java api. but nothing seems to be working for me. Can any one tell me how to print pdf files using java api.Thanks in advance

JAIN SIP

378 byte By nokis at 2007-9-30 10:09:57
Hi,I'm trying to use the JAIN SIP api. After some unsucessful effort at attempting to get this to work, I'm looking for a simple example to show me how to log into a sip server. I'm primarily looking at IM with SIP and would like to be able to login to a SIP server (sip.company.net:443) with ...

Microsoft had just bought Java!!

2027 byte By Dannie_Juge at 2007-9-30 10:36:34
Maybe many people would hate me for this, but Java 1.5 looks a lot like some Microsoft guy got into Sun's facilities like an spy, won the confidence of everybody in there and, somehow, wash their brains with Microsoft philosophy. Then, the Java community implemented many things in this Java ...

Dynamic Structures as Part of a Language

2530 byte By someideas at 2007-9-30 10:44:59
Hi,I hope I've got the right group for this! I've been a professional software engineer for about 8 years, and I've always tried to concentrate on design principles. I've written a few compilers and a simple VM, and partially designed a new language, and after a while I began to have a few ...

What do you think about the "char" primitive in J2SDK 1.5

1143 byte By kennethz at 2007-9-30 11:05:10
I think char's should not be 16-bit at the beginning (JDK 1.0). Then, there is no need to worry about things like "surrogate pairs" (Please see http://java.sun.com/developer/technicalArticles/Intl/Supplementary/ for more information).In my opinion, char's should be stated as the following:- ...

Sturts

160 byte By birthare at 2007-9-30 11:49:52
hi guys , can any one tell me abt the Actionservlet , Action class , and abt SturtsConfig.xml plz if any one so kindly reply

Delegates and Closures

167 byte By BartBluelive at 2007-9-30 12:08:02
Please include delegates and closures in the java language.The work aroung via anonymous classes is very verbose and not a good fit in my opinion.

Explicitly tagging an object as unused

1161 byte By verdi96 at 2007-9-30 12:39:37
Just read an article on gc tuning ( http://www-106.ibm.com/developerworks/java/library/j-perf06304/?ca=dgr-lnxw07BlogFix)where memory leaks are caused by the so called "unintentionally retained objects".Currently, detecting memory leak in Java is done using memory profiler to monitormemory usage ...

JCP J2EE Certification

225 byte By dheeraj_tak at 2007-9-30 13:43:23
Hi all,I hope this forum is for java certification i am planning for J2ee certification..can any body tell me where will i find study contents online on soft copy downloable form ....

Propose adding opage/inplace object instance to the language

4236 byte By vy_ho at 2007-9-30 15:24:46
First, for the eager, what this may solve:1) Much faster JVM because the garbage collection will kick in much less often2) Much small memory foot print for java application.3) Provide better scope control (more on this later)4) Provide faster object copy (something like: deep copy speed of ...

Post 5.0 (Tiger): offer 'force free object references'

1147 byte By MartinHilpert at 2007-9-30 17:42:16
Possible memory leaks in Java applications can easily occur, if the object that is released to the garbage collector (no reference to this object from the application) still access static resources. There is currently no way to tell the VM to free these resources also (because they are static ...

Give unused memory back to OS

695 byte By MartinHilpert at 2007-9-30 18:12:32
My boss just shakes his hade when i tell him that you need to know how much memory a Java application can take (for setting the -Xmx option) and that the JVM doesn't return unused memory back to the operating system. This leads to Java applications being memory eaters and the only workaround ...

Difference between Compliance and Support

209 byte By ProCop at 2007-9-30 18:12:45
Hi, I saw some portal servers are JSR compliant and some provide JSR support. What is tha difference between being compliant and giving just Support ? Can any body help..?Thanks in Advance

When will jdk1.5.0 source code be released?

340 byte By IronMaster at 2007-9-30 19:40:33
I wasn't sure where to ask this question, but does anyone know when the java 1.5.0 source code will be made available through the Sun Community Source Licensing program? We need to patch an imaging bug (Bug #4937376). We've been able to patchg the 1.4.2 source code, but until the new source ...

Mechanism to get rid of NullPointerException

2323 byte By MrMagic at 2007-9-30 19:54:45
Hi, I hope this is the right place to introduce my idea. You all know these ugly NullPointerExceptions which occur occasionally. I think one major problem is, that there are two possibilities of error handling: If a method fails, it can throw an Exception, which is of course the clean way to ...

Multiple catch?

954 byte By gysz at 2007-9-30 20:01:19
HiI would like to suggest (if this is the proper topic and/or it wasn't suggested already) the following construct:try {...} catch(SomeException1, ..., SomeExceptionn e) {//treat it}insteed of:try {...} catch(SomeException1 e) {//treat it} ... catch (SomeExceptionn e) {//treat it in the same ...

Default method parameter values

2508 byte By subSequence at 2007-9-30 20:10:47
I really, really think that they should incorporate default method parameter values in the next major release.It is time-consuming, obstructing and confusing to have methods with 1...n parameters.I.e.public void doStuff(int id){doStuff(id,"",false,Collections.EMPTY_LIST, new Date());}public ...

getDay()?

225 byte By Shane at 2007-9-30 20:30:08
I need to create a function in JS that checks the current Day of the week OnLoad and if the day is Friday, Saturday or Sunday I have a PopUp ad show up. I just can not get this to work. Thanks for any help.Shane

Why foreach syntax is so ugly?

540 byte By elpargo at 2007-9-30 20:31:55
Not Joking...Is this because of some technical problem or someone just thought of it that way?because for each goes agains any other Java construction, for years Java has been clean to read and easy to undestand even for people that don't know the languaje.Ironically at it may seems C#'s ...

Java Web Start

211 byte By takckumar at 2007-9-30 20:42:05
Hi Java Gurus,I would like to know the differences between Java Web Start along with Browsers like Internet Explorer,Netscape and Mozilla.Can any body briefly explain me about Java Web Start

Code Review

22378 byte By Adeodatus at 2007-9-30 20:56:22
Anywho, I've wanted (for a while, yet) a BigFraction class. So I made one. I'd like to get comments on it, though, so:/* Author: Adeodatus***//**package java.math;**/import java.math.*;public class BigFraction extends Number implements Comparable<BigFraction>{public static final ...

problem with calculation

1826 byte By del at 2007-9-30 22:29:39
public class debgrader{public static void main(String[] args ){int numberofstudents,score;double next;char answer, grade;do{System.out.println("Enter scores for all students");System.out.println("Enter a negative numger after");System.out.println("You have entered all the ...

The JCP is not good enough

64 byte By polkmnbv at 2007-9-30 22:54:12
Have a look at http://www.theuserbl.ag.vu/index.htm

Publicly available JRE's other than Sun

68 byte By jmyrla at 2007-10-1 1:13:47
May I know a list of Publicly available JRE's other than Sun

Publicly available JRE's other than Sun

68 byte By jmyrla at 2007-10-1 1:13:48
May I know a list of Publicly available JRE's other than Sun

A little more foreach sugar

427 byte By Adeodatusa at 2007-10-1 2:09:47
I think it would have been nice iffor(int x : 100){}//did the same asfor(int x = 0 ; x < 100 ; ...

JTAPI tutorial and code samples?

267 byte By webRoota at 2007-10-1 2:21:49
Hello guys!Please somebody could tell-me where can I download a tutorial and code samples to start my studies on Java Telephony?Or may could somebory send to me for webcommerce4@hotmail.com .Thanks a lot. God bless you all !bye bye.

How can i get the JAIN ISUP API

160 byte By wamemasa at 2007-10-1 3:12:15
Does someone knows what can i do to get the JAIN ISUP API for a VoIP project which i am working for?Thanks a lotRegardsWaldo Masuero