Uninstall Sun Java

198 byte By Qasea at 2007-10-2 6:12:04
I can't unintsall sun Java. When I go in the control pannel, and I want to uninstall it, a message indicates something like irremediable error while the installation. How can I uninstall it?

Chinese character Display for Date from Gregorian calendar in JSP

602 byte By keerthibhaskara at 2007-10-2 6:20:22
HiI am doing internationalization for my JSPs, as part of that i am doing character encoding to utf-8(for chinese/japanese). Evrything is fine..Now the problm is i am displaying gregorian calendar to select date in a small window using some javascript code...For default encoding it is working ...

New Charset Encoder/Decoder for Microsoft telnet

780 byte By MirkoAdaria at 2007-10-2 6:30:35
Hello,I have a problem for writing a server which is accessible by microsoft windows telnet.I have managed to find out these relationships:switch ((int) c) {case -27: c = '?; break;case -28: c = '?; break;case -102: c = '?; break;case -103: c = '?; break;case -108: c = '?; break;case -114: ...

in a java applet , how to call other jar file?

469 byte By roywong4ua at 2007-10-2 6:39:37
i have i programm, this programm is a java application, also, i already put these program into jar file, and then if i double this jar file , its work!but , now i need to run this program in web browser, i thing that i will write a simple applet with a button after i click this jButton, how the ...

Problem in decrypting -- Advanced Encryption Standard

387 byte By KarunVeloza at 2007-10-2 6:53:54
My job is to store the user information in to the data base in encripted format using Advanced Encryption Standard. This i am to do successfully. But when trying to read the information from the data base using decrypt() method of AES , I am getting " javax.crypto.BadPaddingException: Given ...

Err regarding the properties file deploy

795 byte By ravkantha at 2007-10-2 6:57:25
Hi all,when i am depolying the application iam getting this err,could any body pls help me.PropFile::com.abcea.portal.profile.resources.MyProfile_Dev.properties[12/6/05 8:53:01:974 IST] ea73bad SystemErrR java.util.MissingResourceException: Can't find bundle for base name ...

I18N NumberFormat.format loses precision- Need Help.

808 byte By javatecha at 2007-10-2 7:04:35
I am using this code:String testFormatStr ="123456789123456789.1279";double number = Double.parseDouble(testFormatStr);NumberFormat formatter = NumberFormat.getNumberInstance();String formatNumberStr = formatter.format(number); Input String to be formatted:->123456789123456789.1279Double ...

I18N NumberFormat.format loses precision

808 byte By javatecha at 2007-10-2 7:04:38
I am using this code:String testFormatStr ="123456789123456789.1279";double number = Double.parseDouble(testFormatStr);NumberFormat formatter = NumberFormat.getNumberInstance();String formatNumberStr = formatter.format(number); Input String to be formatted:->123456789123456789.1279Double ...

not able to show accented latin chars correctly

636 byte By kirtipathaka at 2007-10-2 7:19:37
Hi, I am using the enterprise application.I am trying to display latin chars in Jsp and applet.But It is not able to show accented latin chars correctly, instead of that it shows some junk charsApplication details -Application server is =websphereDB=oracleOS=Linux.Char encoding used =utf-8.Even ...

About Class

89 byte By jackwnga at 2007-10-2 7:30:49
Every guy,can you tell me about the class format?, or analyse it?Thank you.

internationlization aplication problem

238 byte By corejavaa at 2007-10-2 7:55:24
how to wite internationlizatin using borowsermeans just browser identify and use perticular properties fileplz tell me i know using properties files we can write i18n applicationsbut this is done at server side

Problem While Displaying Chinese char

1880 byte By gowher_naika at 2007-10-2 7:56:35
HiI have some Chinese chars which I am storing in db.My approach is as followsStep 1:I convert file containing Chinese chars into Unicode file using native2ascii tool as shown belownative2ascii Chinese_char.txt UniChinese_char.txtStep 2:Now I copy Unicode chars from converted ...

Inner classes accessing outer class variables

466 byte By milesperhour1086a at 2007-10-2 8:01:18
I have a guessing game that I am making with the class name GuessingGame. My method public static void main(String[] args) {} calls new GuessingGame();. I have a state variable that is called numgames and whenever a user wants to play a new game, I would like to increment this varibale. ...

How can i display digits in Chinese Format

321 byte By Pinakin.Ariwalaa at 2007-10-2 8:07:19
Hi,How can i display the digits in Chinese Format?Suppose i have a number 15 as a value.Now in Locale Chinese(Taiwan) it should display the digit as a combination of Chinese character for 10 + 5.So could anyone please tell me what should i do for it?Thanks,Pinakin ...

simplified chinese settings

495 byte By p10_sria at 2007-10-2 8:11:44
Hi all,I am doing a Internationalization project in simplified chinese, can someone tell me which keyborad settings are the most commonly used for simplified chinese. I have 2 options coming in my windows XP machine in Regional language & settings -> Chinese PRC :1. Chinese (simplified ...

character encoding (unicode to utf-8) conversion problem

519 byte By beginner@indiaa at 2007-10-2 8:14:59
I have run into a problem that I can't seem to find a solution to.my users are copying and pasting from MS-Word. My DB is Oracle with its encoding set to "UTF-8".Using Oracle's thin driver it automatically converts to the DB's default character set.When Java tries to encode Unicode to UTF-8 ...

How to input and output Unicode data in console

320 byte By JenessaHuynha at 2007-10-2 8:17:34
Hi All,I am going to write a console application in Windows that show messages in Japanese (or Unicode in general). I do not know how to input and output the data from that console. Please help me. By the way, how can I port this program into Unix? Thank you very much!Sincerely,Jenessa ...

Encoding and Decoding Issues

7256 byte By thangaprakasha at 2007-10-2 8:21:51
hi,I'm using Java 5. I try to encode a byte array using encodingfunctionality in String and decode it back in to byte array from theencoded string. If no encoding scheme is specified the defaultencoding for that platform is taken.I ran my application on red hat linux 7.2, fedora core 3, ...

java script localization

135 byte By require_solutiona at 2007-10-2 8:26:58
how can i dispaly the time of a specific country using java script. the problem is with specifying locale...plz help me..

Encoding like in .properties files with \u notation

107 byte By wihsboecka at 2007-10-2 8:27:24
Is there an encoding that encodes files with the unicode \u notation ?GreetingsMichael

jsp

45 byte By Mayank.Tyagia at 2007-10-2 8:31:21
how to get current date for in my jsp?

date method

89 byte By Mayank.Tyagia at 2007-10-2 8:31:24
how to get current date and time in my jsp or tell me how to use java.util.Date()?

Japanese both in Linux and in Windows

823 byte By javadoria at 2007-10-2 8:34:44
I have an application which is handling xml and socket.the problem is XML to byte[] and byte[] to XML before sending it through socket.I choosed SHIFT_JIS, or SJIS encoding in the java application.It works properly in window OS environment. However, when I run the program in linux. Japanese is ...

Where to perform date conversion for display?

810 byte By vichandokoa at 2007-10-2 8:37:39
Hi,We have started our application with operation for single country, all data located in single database. The transaction history time stored is all in GMT+8.However, with business expansion, we now have to cater for multiple country that is of different timezone. I need to display the ...

Frame and dialog title bar doesnt support unicode characher

792 byte By dadu420a at 2007-10-2 8:38:02
hi friendsmy problem is frame and dialog title bar dont support unicode . but if i installfont in the os(i am using xp) it supports unicode. but i just want to make myapplication independent and dont get any font support from os, so that i justcopy the chinse font under the jre\lib\font ...

ResourceBundle falsely selete localized property file

418 byte By dxga at 2007-10-2 8:38:27
Hi, friend, I experienced an unexplainable problem of java.util.ResourceBundle. either in java.util.ResourceBundle class, or jsf loadbundle tag.There is no any problem to locate localized property file for English, French,....While locating CJK (Chinese, Japan, Korea) property file, the jvm ...

Save JSP file as PDF

419 byte By KarunVeloza at 2007-10-2 8:39:50
I am trying to open a jsp file in pdf format. I set content type = "text/pdf". I am able to save the pdf file. but the content in the pdf file is corrupted and corresponding pdf application is unable to open the file. I am successfully saved the jsp file in excel, word. I tried with content ...

Displaying Multilingual Text from MS-Access database on a Swing Form

257 byte By Ponkaa at 2007-10-2 8:46:27
Can anybody tell me how to display multilingual (Chinese, Japanese, Arabic, French, etc.) text retrieved from an MS-Access database on a Swing-based Java form & controls (textfields, comboboxes, etc.)?--Thanks in advance,Asif

Does DateFormat localization support malasian calender?

229 byte By carfielda at 2007-10-2 8:56:00
Like:JanuariFebruariMacAprilMeiJunJulaiOgosSeptemberOktoberNovemberDisemberBut what I get from DateFormatSymbols is only English...

Spell out number like One,Two, Three

133 byte By pritiaa at 2007-10-2 8:56:55
Is there a JAVA API that can spell out numbers? So One, Two, Three instead of 1, 2, 3? Please send me a snippet.Thanks,

Non US-ASCII characters in download file names

2965 byte By one_danea at 2007-10-2 8:57:43
I am trying to implement a simple file download in a JSP, and trying to get IE, Firefox and Opera to all display and handle non US-ASCII characters in the suggested download file name. Only concerned with Windows platform for now. Here's the code I am currently using:String agent = ...

Problem with characters in java on HP UX

1458 byte By geramita at 2007-10-2 9:08:15
Hi,We are sending URL Encoded German character over an output stream to Server. After decoding the characters, it is not able to retain the characters set and displays garbage values. We tried writing a simple program and running it on the server and got the same problem. Here is the ...

UTF8 to Unicode conversion for CJK characters

1101 byte By cwhoa at 2007-10-2 9:14:16
Hi, I am fairly new to internationalization issues, yes there are already several topics with similar problems and I've done a search/browse view as far as I can but did not find a solution.I run a JSP application that uses the UTF8 encoding, so my form input (querystring) comes back to my ...

What is Content Type for OpenOffice word, excel

265 byte By KarunVeloza at 2007-10-2 9:15:02
Himy jsp is displaying properly in word, excel, pdf by setting corresponding content types.And what is the content type for OpenOffice word or excel files.My content type is only working for Microsoft word or excel filesreply asap

Render JFrame title bar using java not by os

222 byte By dadu420a at 2007-10-2 9:15:04
Dear friend i need to render my title bar of JFrame using java not byos, any idea, i know smart guy can do thisso any smart guy with exmaple code, (i need to support the chinese character in title bar)

Double.parseDouble() is not Locale specific, how do I get round this?

809 byte By simon_orangea at 2007-10-2 9:25:20
I am parsing Strings into doubles using String myNumber = "12,34";double d = Double.parseDouble( myNumber );The problem is that my number is of French style (it has commas instead of fullstops for the decimal points)The default Locale is English, so I get NumberFormat problems when parsing. (I ...

Do we need to convert Chinese/Japanese properties to Unicode?

1359 byte By sp_naika at 2007-10-2 9:33:58
Dear friends,I am new to this Internationalization concept. I have a web application and I am looking forward to implement Internationalization. To make my app support muti-language, I am using Locale & Resource bundle to find properties files based on Country and Language. I have different ...

ResourceBundle & arabic & jsp

114 byte By dsfdsfa at 2007-10-2 9:40:27
hi allhow can i read arabic by ResourceBundle in jspany one did thatthanks for hearing

Japanese characters display question marks ?

1124 byte By javanila at 2007-10-2 9:49:37
I have inserted Japanese characters into my Postgres table, when I output the resultset to a file or console I get question marks?Can anybody suggest a fix? prop.put("user", "postgres"); prop.put("password", "postgres"); prop.put("useUnicode", "true"); prop.put("charSet", "UNICODE"); ...

MS simplified Chinese IME pad display in wrong position?

356 byte By osatakena at 2007-10-2 9:51:59
I developed swing application which use JFrame as MainFrame and use Editable JComboBox as an input textfield when app start on the top left position. i drag mainframe to another position and try to keyin China with MS IME pad. I see that the pad still on the top left.please help me, how to ...

Cant display asian characters in text fields..

1046 byte By buckman1a at 2007-10-2 9:55:24
Hey all,On my machine at home, Windows XP, I installed the asian character fonts via the control panel. I am able to run our app, and paste japanese characters from a web site into a text field, save it via UTF-8 to xml, restore it, etc. I did the exact same thing on my laptop windows XP box, ...

Controlling Charset used by File.listFiles() method

637 byte By pointy_m5a at 2007-10-2 10:01:44
The java.io.File object "listFiles()" method uses some low-level code to translate the byte-vector filenames returned by Linux system calls into Java String objects. As far as I can tell, that transformation is performed without any regard to the actual JVM default Charset. To make matters ...

Basic questions

685 byte By seemamma at 2007-10-2 10:07:38
Just trying to learn how to Internationalize the UI I'm working on.I need to internationalize my UI to chinese. The basic things like ResourceBundling is all done. I have to work on the display part.1. I used an online tool to conver from English to Chinese(simplified)2. Another tool to ...

struts jsp and RTL

545 byte By DavidThia at 2007-10-2 10:12:22
Hi;Ok, I use a resource file for all text and then put it in the html page using c:out, etc. But, what about Hebrew & Arabic? They need to be marked with dir="RTL". I can make the message <span dir="RTL">hi there</span> but then I can't escape any text and have to make sure I ...

swing help

1267 byte By collinn50a at 2007-10-2 10:13:56
I'm not sure what the problem is but heres my story, please do helpi'm 16 and new to java, i'm takin a java programing class in highschool, and well we had to make a program for our indepentant ISUand well i'm done and i want to make mine fansy and get good marks by creating a GUIso i ...

MS Access & UNICODE

417 byte By arun_mauryaa at 2007-10-2 10:20:06
Dear Developers,i have entered some records in MS Access in Hindi Language. and i wantto retrive them using JSP. but it is displaying ? marks only. i havetriedProperties p=new Properties(); p.put(╟harSet? ║TF-8?; and thenpassed this property to getConnection method of DriverManager.Please help ...

Validation of Arabic Input

216 byte By waqasahmedcha at 2007-10-2 10:20:16
How can i validate Arabic charcters entered in a text box through Struts ? I have textbox on jsp page, that must have Arabic characters only (no digits)......Please help me in this regard.

unable to store japanese filename correctly on Unix...

758 byte By soleSurvivora at 2007-10-2 10:38:50
Hi All,I have an application running on Solaris. There is a particular screen where users can upload files. Now if a file with a Japanese Name is uploaded it is being stored as a filename with junk. Although there are occasional '?' it is mostly Mojibake i guess.My application encoding is ...

Linux and special character encoding

3048 byte By craig1980a at 2007-10-2 10:44:36
Hi all. I have this scenario:PC1 Windows XP Home edition SE; JVM 1.4.2_08PC2 Linux RedHat 3.0 advanced server JVM 1.4.2_06.I have a veri simple Java program. This is its code:public class Test{public static void main(String[] args){ ...

Problem finding ResourceBundle from JAR when added to application @ runtime

1077 byte By Sun.nya at 2007-10-2 10:45:39
Hi folks,I'm working on a project where I have a basic application framework and the possibility to add/remove JAR's at runtime. Those JAR's can be seen as plugins or whatever.Bundled within the plugins are ResourceBundles (as the name implies ;-) ) for internationalization purpose. The ...