284 byte By
eyaly at 2007-9-26 5:08:54
Every time the application gets to this line:File[] roots = File.listRoots();I get message box: "There is no disk in the drive.Please insert disk into drive A:"How can I get the list of drivers without gettingthis message popup?
62 byte By
youngboy at 2007-9-26 5:08:59
do we have to include jnlp.jar in the jnlp file?
Hi, I have two JAR files - db.jar & dbserver.jar. This db.jar is nested inside dbserver.jar. And, I place db.jar file in the Manifest file's Class-Path Attribute as this.Manifest-Version: 1.0Class-Path: db.jar;Main-Class: suncertify.db.server.DataServerServiceWhen, I run this executable ...
HiI was wondering if there is any other convienient way of encodeing an image to a GIF format without using the ACME package? I'm not sure but I think that JAI doesn't support GIF encoding. Is this true? Colin
255 byte By
barni at 2007-9-26 5:10:24
I wonder if i can use Acme library to encoding a gif filefrom a Applet source.I need to create a gif file from a applet in a moment.How can i do ?How can i copy applet memory to a image object ?jsanz
328 byte By
toofah at 2007-9-26 5:10:38
Is it possible to access URL parameters from a WebStart application?Example: http://www.domain.com/example.jnlp?parameter1=43I would like to initialize my JWS app using the information given to me in parameter1. Is this possible? I believe that this would be very powerful.Thanks. ...
I'm having problems displaying an image in a awt frame. The image is displayed in a ImageCanvas. The frame is a small loading screen with a picture in it. On it's own it works fine but when I construct a frame and pack it right after displaying the frame with the image, the image canvas ...
Hi,I wanted to submit some data into the database using Applet-Servlet communication. As I am new to this topic I would like any one to help me with some source code(simple one will do enough). with 2 textfields in an Applet and a "send" button. which will connect to the servlet and from ...
253 byte By
trupek at 2007-9-26 5:11:50
Hi there,Is there a Method to let the Plugin (1.3.1) be installedfrom a intranet address? The Object-Tag created with the HTML-Converter points to sun! How can I configure the Plugin-Installer to load from intranet location ?
391 byte By
spider02 at 2007-9-26 5:11:56
hey grp,I'm a newbie to JAVA. I was unable to run the applets on my machine, and I tried running as "AppletViewer Test.class", and this didn't initiate the Applet Viewer window.I have also tried the applets through <APPLET> tags with the HTML program and was unable to load and see ...
385 byte By
lj75 at 2007-9-26 5:12:17
Hi:I am not very sure what is meant by "properties of a bean". In setProperty action..when you are setting the properties of a bean..what exactly are you setting?Are properties just methods in the bean? and when you are setting properties, are you matching the parameters of all methods in that ...
In my application I need to pass the -Djava2d.font.usePlatformFont=true to the jre during startup for my application to print corectly. It works fine when I use the batch file to launch the program.I am now using Java Webstart to start the program. In my JNLP under resources section, I ...
522 byte By
inskeepp at 2007-9-26 5:12:53
Hi,I am trying to get Java Web Start installed as part of our "standard config" for Window NT/2000. When a box is created everything gets installed under a shell account that has admin priv.This install works find, and the shell user can use web start fine. However when we give the box to a ...
986 byte By
lawsonl at 2007-9-26 5:12:56
<pre> After creating a TitledBorder there is extra space between the border line and the topMost control. I understand that there is space added to accomodate the title but the amount of space allocated is excessive. Does anyone know of a workaround?<code>import ...
197 byte By
vinor at 2007-9-26 5:14:20
HI,I am trying to build a Japplet using swing components. But the components are not visible after executing the applet.Shall I need to install some pug-in.Thanks
121 byte By
bironghu at 2007-9-26 5:14:49
When using web start to deploy an applications, Is there any size limitation on the Jar files for that app?
575 byte By
whyseenu at 2007-9-26 5:14:50
Hi experts,I am new to Internationalization topic and wants todisplay Time Stamps based on the TimeZones.For example, If I choose Asia/Calcutta as my TimeZoneit is displaying "Mon Aug 28 11:02:47 GMT+5:30 2001" as the TimeStamp.(I am in this TimeZone,which is default to me.)Similarly If I ...
592 byte By
ongp at 2007-9-26 5:15:15
I am trying to display Chinese Characters using Swing GUI.I created Unicode strings using escape character \uXXXXI displayed \u4e00 successfullyHowever when I tried to display \ub8db i got a square box displayed instead.I am using: Winnt ver 4 ,RichWin 97 private Object listData[] = {new ...
689 byte By
lml919 at 2007-9-26 5:15:51
I used a class sun.jdbc.rowset.Cached In my applet,and I deployed the applet with a JAR file which includethe package sun.jdbc.rowset.However ,When i borow the applet form IE (or AppletViewer ) ,I get a Exception:access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.rowset) I ...
682 byte By
lml919 at 2007-9-26 5:15:59
I used a class sun.jdbc.rowset.Cached In my applet,and I deployed the applet with a JAR file which includethe package sun.jdbc.rowset.However ,When i borow the applet form IE (or AppletViewer ) ,I get a Exception:access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.rowset) I ...
431 byte By
matt.h at 2007-9-26 5:16:14
I've posted this in other forums but without success: I have the following line in my java.policy file:permission java.util.PropertyPermission "test.refreshTime", "read,write"; However, my application (deployed using JWS) generated this exception:java.security.AccessControlException: access ...
539 byte By
smt123 at 2007-9-26 5:16:27
1)I have a scrollbar which is part of BorderLayout.On top of this i have a gridbaglayout and some components.Initially the compo are in the center of the page as sson as i click on thescrolbar the components get shifted to the left.Please help.2) Also if i have a simple gridbag layout where i ...
657 byte By
frankyH at 2007-9-26 5:16:30
I try to create with a servlet a Graphics2D Object with the method "createGraphics()" from a BufferedImage Object. Therefore I use the following code:BufferedImage bufferimage=new BufferedImage(100,100,BufferedImage. TYPE_INT_RGB); Graphics2D g2;g2=bufferimage.createGraphics();With the ...
201 byte By
marcoted at 2007-9-26 5:16:58
How can I split the label of a java.awt.Button or a java.awt.Label on more than 1 line?For example, I must have:SAVEWORDinstead ofSAVE WORDthanks
326 byte By
Theist at 2007-9-26 5:17:11
I work over Os 2 Warp 4, we have many host in our offices with this Operating System, there's a JRE but we can't start any class due (perhaps) to short file name system present in Os/2 any help? thanks, we started to work with Java cos we plan to change gradually our systems to other ...
Hi,I'm not sure if this is the right forum.Anyway, I'm using ASP & IIS.When I launch the applet, I am asked for user authentication (again !!). I was authenticated when I launched the html page. Can anyone help?Thanks in advance,Kevin. ...
150 byte By
TarekZ at 2007-9-26 5:17:25
I am having trouble correctly displayin arabic text on Windows 98. The same applet works fine on windows 2000. Any one can shed a light?
When I run my application via web start I get..."Unsigned application requesting unrestricted access to the system".I have a jar file which is written as both an application and an applet. It is signed (just like the web start and applet documentation requires) using a thawte certificate and it ...
5472 byte By
CornellS at 2007-9-26 5:17:41
We have a Java Applet which opens dialogs containing lists of data from our database, radio buttons, buttons, checkboxes, text labels etc. Since moving to Win2k, the components sometimes don't paint. This is intermittent and, as near as I can tell, random. The list component always displays. ...
519 byte By
Kolunsha at 2007-9-26 5:18:09
I have a problem with the JRE1.4 beta 2 Plug-in.I'm tring to insert in my thml page a applet, wich need this plug in. And if there is no JRE1.4 installed, then it should download this plug-in.I wrote as an example on ...
1151 byte By
jfrey72 at 2007-9-26 5:18:27
Below is the code that I am using for a JEditorPane that uses a JScrollPane and I am trying to make the scrollpane automaticaly scroll to the bottom after the new text is added to an applet.The code will work in the appletviewer but not in the applet.Why will this work in the appletviewer but ...
664 byte By
tsollas at 2007-9-26 5:19:30
Just changed today. My object tag is:<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"id="test"width="400"height="400"codebase=" http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"><PARAM ...
I get the following error when trying to launch my jnlp file. Does anyone know the cause of this error and how to fix the problem?JNLPException[Category: Download Error : Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]
I've installed an executable jar on my machine and some others. While double-clicking it works perfectly fine on mine, on others nothing happens when I double click it. I've already set classpaths, checked folder associations and paths. Any suggestions on what might be wrong?
310 byte By
plgliu at 2007-9-26 5:22:05
Hi There:I need to build a black window (extended from JFrame) where only some small dots are flying randomly. Could some one tell me how to get rid of the title bar and the borders as the background need to be purely black. Thank you very much for your great help.Best,G.B. ...
I am not able to convert the Unicode characters \u0c00 to \u0c7f to normal characters but am getting the Arabic unicode characters without any difficulty. I tried changing the font.properties file and also writing the converter class
What version of Unicode does jdk 1.3 support?
Hi!If i develop my applet with the JDK1.1.8.If i put this applet in a web page, do the clients need to download any plug-in to see that applet?Thanks in advanceNathan Rousseau
2279 byte By
jamesliJ at 2007-9-26 5:23:20
Hi all;Can someone please tell me how to change this Swing apps into an applet. Please helpThanksimport java.awt.*;import java.awt.event.*;import java.text.DateFormat;import java.util.StringTokenizer;import javax.swing.*;public class BaseClient extends JPanel {protected JList ...
765 byte By
arauramo at 2007-9-26 5:23:39
Hello!We're having a problem with JWS1.0.1. We're building an application w/ ejb for a customer, and the customer's customers are running it from behind different firewalls and proxies. For facistic security policies (they're dealing with money...) we have to use http and port 80 (later ...
713 byte By
marchb1 at 2007-9-26 5:24:25
Dear All,I am experiencing problem to put my application in real world.When I access the jnlp file exeverything work well, java web start start correctly. (www.myserver.com/myappl.jnlp)When I try to build the jnlp file with a Java server Page, I get the jnlp file as text file from the server ...
378 byte By
gronert at 2007-9-26 5:24:33
Hi,is it possible to specify a directorywhere I have full access to writeand read files without signing myapplication.I thought of a FileChooserDialog wherethe user can choose this directory whenthe application is launched (like theFileSaveService).Is there a possibility?Regards,Mathias ...
628 byte By
geppert at 2007-9-26 5:24:44
I am trying to understand how WebStart handles proxy authentication for HTTP between my WebStart client and the server.WebStart prompts the user for the proxy userid/password when my application starts. This occurs when WebStart attempts to download the jars.However, now my application starts ...
1636 byte By
herpgps1 at 2007-9-26 5:24:50
Can someone explain what the limitations of this will beWe have customers that have tight policys regading security within there intranet/internetDose anyone know if the auto installation of JRE dependent on entry contained within the J2se tag will be flexible enought so that the JRE is ...
781 byte By
beckg at 2007-9-26 5:25:08
I installed WebStart and it correctly used the site specified location for the install:c:\local\apps\gs\Java Web Start.I am using ie5 to invoke the .jnlp. This runs successfully and launches the app. However, the app does not appear in the ApplicationManager. I have to run it each time through ...
I just downloaded and installed the jdk1.3.1 into the root of my local drive. I am not sure if I am using the software correctly, I am launching a dos shell and cd to the directory c:\windows\desktop\internet, which is where the necessary files are stored. In this directory I have three class ...
887 byte By
daireq at 2007-9-26 5:26:49
I keep on getting the above error when trying to webstart a very simple application (1 class). Originally trying to get this to work with a much more complicated application and decided to try a hello world app to get the thing up and running :-)class is jarred up in 'classes.jar'the format ...
247 byte By
abmehta at 2007-9-26 5:27:39
Is there a java language specific text editor?I would like to use one, which can format text and color code the program for ease for readablity.Can someone tell me which one to use and where to get it from?Thanks
I ran into a bug with the JTabbedPane. I removed all the tabs, then added them back, but when the pane is first shown, clicking on a tab would not show the appropriate tab. However, if you clicked all of them once, the tabs worked properly. One workaround was to use the setSelectedIndex() to ...
246 byte By
carlosnf at 2007-9-26 5:28:15
Anyone got this error? Documentation is sparse. Parsing Stage jc myfilename.jar#module not found "com/excelsior/internal/byteTD"* [ *** F460 ]* configuration error: check redirectionsThanks!