307 byte By
ma at 2007-9-26 6:22:36
I would like to know if the JavaBeans ActiveX Bridge is still supported and if people are using it production environments? Most postings and docs are several years old and in JDK1.4, the class sun.beans.ole.Packager is no longer present in the jaws.jar file.Thanks.Mattias Arbin ...
127 byte By
robli73 at 2007-9-26 6:22:38
Is there any easy way to conver Applet to WebStart?Any hint? Is there any tutorial about WebStart? Thanks.
Hi All,I am using Locale currentLocale = new Locale("ca", "ES", "EURO");NumberFormat currencyFormat= NumberFormat.getCurrencyInstancecurrentLocale);currencyFormat.setMinimumFractionDigits(2);currencyFormat.setMaximumFractionDigits(2);currencyFormat.format(some floating price)) for euro currency ...
Hello,I'd like to know your opinions about how many resource bundles should I use on a big web site. Should I use on per page, one per section, or one per site?What do you suggest?My current approach is one per page, but there are lots of repeated strings, so I think one per site or per ...
can i make window without titlebarand of circular shape
506 byte By
yanwulu at 2007-9-26 6:23:46
Hi, friends:I designed a application program with Swing applet. The Java console is launched automatically when I run my program. My question is: Whether should I close this Java Console window when the Swing applet program is run? Please let me know how to close this window with <OBJECT> ...
776 byte By
carlosnf at 2007-9-26 6:23:50
Hi,I am using DataOutput/InputStreams to wrtie UTF (Chinese Characters from an Applet to a servlet) Now, I already HAVE the chinese characters in the applets memory and I need to write them to the servlet. I am using the "writeUTF()" and "readUTF" methods in the Input and output Streams. Now I ...
133 byte By
shanky at 2007-9-26 6:24:04
How can I resize a JWS application. it has a constant size and the resize option is grayed out.thanks,SK
can i make some area of a frame or window transparentany hint?
2182 byte By
AnyoneEB at 2007-9-26 6:24:33
The first thing I want to say it that this is my first time using GridBagLayout and GridLayout is a lot simpler. I'm trying to create a GUI with 4 areas (in a square or on top of each other, I don't care) that have a title across the top and a TextArea with many buttons lined up beside it ...
I have a signed applet. Signing works fine.I get the following error:Exception occurred during event dispatching:java.lang.StackOverflowErrorat java.io.FilePermission$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.io.FilePermission.init(Unknown ...
341 byte By
highhs at 2007-9-26 6:25:36
I installed J2EE1.3 on my computer, win2K Professional service pack2 and I set all classpath and evironment variables up. I run j2ee.bat but it showed me some error messages. I didn't understand why it didn't work.I uninstall J2EE1.3 version and installed 1.2.1 version and then it worked. who ...
Hai java guys,I need help from you.After coding any java application,how to create installation setup for that application to install in another system.I searched www.installshield.com for this,but i am unable to find solution.If anybody knows plz let me know.If it is free download ,i will be ...
What l'm i doing wrong?Failed to load Main-Class manifest attribute from ButtonTest.jarEmail: netprogrammer@hotmail.com
hi,i want to display the opening of the file/downloading a image using the progress bar.i'd certainly appreciate if anyone can give me the code,thank you for your time and concern,
hi,how can i rotate a jpg image in java.i want to display 1d image of DNA in 2d and rotate it.all suggestion are invitedthank you
When I try and manually add a manifest file to jar, a IOException is thrown with the message "invalid header filed". I have copied some manifests form some posts, I get that error, I extracted the default manifest from a jar, and tried to add it, I still get the error.The default manifest looks ...
Downloaded Standard Edition jdk1.3.1 on my windows 98 system. I set the path on the Autoexec.bat screen to Set PATH= C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3.1\binset classpath=.;C:\classes when I open the bin directory I see the javac.exe file. But when I try to compile using the Programmer's ...
Just installed the 1.4 beta 2, and the JRE part of it is HUGE at some 38MB! In compressed form it is some massive 18MB! It is now an operating system!I think we have a new "Hello World" record here. What does this mean, do I need to distribute my software on a CD from now on? That is impossible ...
398 byte By
burnburn at 2007-9-26 6:27:24
Hi all, I would like to ask whether j2sdk has jre with it? I installed j2sdk1.3 in my machine and wrote a swing applet. However, when I run it, it does not detect that I have j2sdk installed and still ask me to download jre once again. Is there any way to let the machine knows that I have j2sdk ...
979 byte By
big_bee at 2007-9-26 6:27:46
Hi - I have a jar in the \ext folder with the package (and class) that I need. When I compile an application that imports this package, it compiles fine. However, when I run the application, it comes up with a "NoClassDefFoundError" message. I removed the jar and recompiled the application to ...
187 byte By
dins19 at 2007-9-26 6:27:48
Hi When executing the jar file by double clicking on it i get this message:'Could not find the main class. Program will exit!'Anyone can please help!!
829 byte By
jimrand at 2007-9-26 6:28:04
I'm trying to access a JBoss stateless session bean from a Java application launched using Web Start.The line of code which throws an exception is:// Get a reference to the Interest BeanObject ref = jndiContext.lookup("interest/Interest");The exception is:java.security.AccessControlException: ...
194 byte By
WLC326 at 2007-9-26 6:28:08
okay i have the j2sdk-1_3_1-doc, j2re-1_3_1_01-1win, and the j2sdk-1_3_1_01win downloaded . how do i change my environment..... or what is my next step.?thanks for any help
I wrote applet using Java 1.3.1, using swing clasess.I use java-plugin, defined in <object ..> and <embed ..> tags as described in documentation, with MAYSCRIPT parameter and ID and NAME parameters defined.How to set up focus on this applet through JavaScript?I have ...
570 byte By
joefk at 2007-9-26 6:28:42
Hi,Our program has been developed in SDK 1.3.0 using Swing. It runs as a standalone application or as an applet. Currently, all of our users are running under various Windows operating systems using the 1.3.0 or 1.3.1 Sun rte/plug-in.I see that the Macintosh OS X operating system supports Java ...
118 byte By
Jove at 2007-9-26 6:29:09
hi. what can i let the component display out of the bound of applet,just like the list at choice.
132 byte By
vinor at 2007-9-26 6:29:42
Hi all, I am running swing applets.how java plugin get downloaded automatically by JApplet.thanks
276 byte By
lcfre at 2007-9-26 6:30:16
when i run jar file with web start, occour the following error:The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath. pls help me.
Hi,I'm runing Apache 1.3.20, and tomcat 3.2.3 under Windows 2000. When I deploy my WAR file on tomcat, it seems like the only way to get the servlet to substitute $$codebase in the jnlp-file is to call the jnlp file from tomcats webserver, i.e. use port 8080. I'd like to do this using ...
325 byte By
_diesel at 2007-9-26 6:30:41
Hi! :)I want to take a screenshot and print it using an applet.The applet is for IEbrowsers 4.0.I dont know where to start. How do I capture the entire screen? Using paste from a clipboard doesnt do it for me. I want the user to just press a "print screen" button.Best regards ...
716 byte By
echlinja at 2007-9-26 6:31:03
Hi,I would like to use JNLP as it I like the method of specifying an application's configuration, eg jars, properties and native libraries. It's more controlled and versionable than having to use a command line 3 metres long.However, we use Marimba Castanet and I want to stick with that, so ...
1000 byte By
parna at 2007-9-26 6:32:10
Hi All,I am in the process of creating a single font.properties file for displaying latin/japanese/korean/chinese characters. Reading through the doc. I realised that I have to merge the following font.properties files:font.propertiesfont.properties.ja (japanese)font.properties.ko ...
I am trying to develop paintbrush like application. I draw the same interface like paintbrush but i have problem when i want to develop the concept of filling, I require filling algorithm like floodfill.I am using BufferedImage class and I am using compositing rules I have problem to erase the ...
I am not able to read Japanese characters in Unicode in Sun machines. Has any body experienced this problem before. I hade a Shift-SJIS encoding file. I later ran the native2ascii -encoding SJIS on the file and when I bring up my application. I do not see the Japanese characters at all.Thanks, ...
374 byte By
orajiv at 2007-9-26 6:34:05
Hello,We have an application applet tested and verified against 1.3.0 Java Plugin. We still want to use the same plug-in but with the release of 1.3.1 our applet downloads 1.3.1 as opposed to 1.3.0 reason being the 1.3.0 has been moved to archive. Is there a new URL where i can still point to ...
1470 byte By
kh_siu at 2007-9-26 6:34:09
i'm using 1.3.1_01 with win2000following error occurred:test.java:39: unreported exception java.io.UnsupportedEncodingException; must be caught or declared to be thrownaa = new String(l.getBytes("Big5"), "UTF8"); ^test.java:39: unreported exception java.io.UnsupportedEncodingException; must be ...
742 byte By
JAYF at 2007-9-26 6:34:23
Hello,I recently upgarded to jdk1.3.1 and converted our applet and classes to jdk1.3.1 using swing classes. From there, we converted the html file with htmlconverter and diployed this on the web. When a user goes to the web, the system automatically downloads the java plugins and installs them ...
738 byte By
AlGi at 2007-9-26 6:34:39
I addded a number of gif files to an image directory which gets included in a jar file. My program aborts when it tries to load one of the gif files. When I looked into the jar file to make sure that my gif file was really there, it became obvious that the jar utility translated the names of ...
I'm devleping an app that I would like to put in a jar. When I distribute the test builds, I would like to keep the images and classes in seperate jars so I don't have to redistribute the images.The problem I have is that the program cannot find the images when they are in a seperate jar ...
621 byte By
froy007 at 2007-9-26 6:35:03
I'm trying to execute an ms-dos program using exec,and reading it's output.the program is running ,but, I can't see it's output.I've tried many variations of this code:Process p = Runtime.getRuntime().exec("file_name");try { p.waitFor();} catch(Exception e) {}BufferedReader input = new ...
1477 byte By
rashmi25 at 2007-9-26 6:35:10
Hi,I am trying to execute a batch file using Runtime.exec method. I referred to previous discussions and tried executing my batch files using the solutions discussed earlier. It helped me to some extent.The problem i m facing is that my batch file is not getting executed completely. Somehow the ...
I'm rusty with the Runtime,can somebody give some example and guide about Runtime,then I can get the runtime information! thanks in advance!
180 byte By
c9010119 at 2007-9-26 6:36:18
I want to develop a website generator for my project. How should I get start ? What kind of language should I use and what kind of develope environment should I use ?
Hi,I'm new to JWS. Have written a launch.jnlp file (using DeployDirector Bundler). Put it on to web-server with all the required application jars.Installed JWS on PC. Using File-Preferences-Advanced, put the Remote Application URL as :- ' http://172.17.4.2:7001/app/launch.jnlp'The contents of ...
600 byte By
zboniek at 2007-9-26 6:36:41
I have an instance of class java.awt.Polygon. Let just said that is a triangle (not necessary). I pick up some points at the edge of triangle and check wheter triangle contains that point or not. For some reason, triangle contains some of the points, and some does not. For example: I took point ...
I just created a small app, that displays the content of a file chosen by user (FileDialog). I've added a Button "Refresh" that should re-read the file's content and display it in the same TextArea as before. ThanksThomas
222 byte By
jasineri at 2007-9-26 6:38:29
hello,I want to setup JAVA WebStarts "Output Options" & "Log to file" by some application, but question is where this information stored physicaly? (registry or some file)thanksNerius
675 byte By
zzdx8n at 2007-9-26 6:38:51
Hi:I'm running HPUX 11i and Apache 1.3.12. The Apache web server software is working properly; it's serving pages. I'm having trouble installing java. There are instructions in the Apache release notes that come bundled with 11i that describe how to install and configure JSDK 2.0 and JDK ...
1451 byte By
weder at 2007-9-26 6:39:08
I've discovered a problem with Java Web Start. We install JWS 1.0.1_01 and Java21.3.0_03 using our own installer (this, I believe, is not part of the problem, however).If a new update is available, JWS detects it properly, then starts the download.I have two files, one is 760 K, one 1.4 Megs. ...