set Background of graphics2d object from BufferedImage

301 byte By zk200 at 2007-9-26 5:14:22
Hello,i get Graphics2d object from bufferedImageand the background of Graphics2d is initiate to be black color. i set background to whiteusing , graphics2d.setBackground(Color.white);but it doesnt work. why?thanks redbeebird ...

Https&proxy answers

482 byte By 6106366 at 2007-9-26 5:15:29
Hi to everybody,I'm trying to connect to an https url via proxy/firewall;I'm using the SSLSocketClientWithTunneling.java example with some new line added just for the authentication.It seems that a connection is established but i get back from server this message:HTTP/1.1 400 Bad ...

problem with BufferedImage & "getGraphics()" / "createGraphics()"

656 byte By frankyH at 2007-9-26 5:16:41
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 ...

Filling an image with a different color

192 byte By jsugrue at 2007-9-26 5:17:04
hiI need to fill an image that I load (.gif/.jpeg) with a different color. Can this be done at all?Is there any ways of manipulating a gif?thanksJames

Hello

78 byte By lokesh999 at 2007-9-26 5:17:51
How do I play a sound file. Please any body can help me in this.

Import digitally signed certificate

587 byte By etelekeli at 2007-9-26 5:18:44
I've received a digitally signed certificate back from Thawte. I would like to automate the import of these using the security api. Is there a way to do this?I can import this using the keytool. I can even automate the process of import using keytool. However, for some odd reason, the when ...

Obfuscating secret key in .class file

1468 byte By skiporama at 2007-9-26 5:19:16
I have a Java application that reads in configuration files containing proprietary information. I would like to ship this application to users in such a way that the users cannot view the data in the configuration files. To accomplish this, I am considering encrypting the configuration files ...

createImage problem

1411 byte By clickd at 2007-9-26 5:20:42
Hi,I'm trying to create an Image of a swing componentand then display that Image. It seems that createImagedoesn't really create anything.The following program demonstrates my problem:import java.awt.*;import javax.swing.*;public class ImageViewer{ JFrame i_mainFrame, jf2; JButton i_button; ...

SSL server for win apache...

95 byte By FelipeGaucho at 2007-9-26 5:20:56
Is there a service (or software) which able me to set the SSL for my Win apache ?

Create String representation of byte[] from MessageDigest.digest()

859 byte By beattris at 2007-9-26 5:21:09
Hi all,Probably a simple question, but I'm new to crypto. I need to get the String representation of an MD5 MessageDigest so I can pass it as a url parameter. Code snippet follows...MessageDigest md5 = ...

hypothetical question

347 byte By neptune235 at 2007-9-26 5:21:28
Does any body know if its possible to use the JMF to output broadcast quality video to television screens? I work at a video bar, and I think it would be neat if the JMF could be used do do live internet streams AND feeds to our TVs. Its a pretty hypothetical though, because I'm new to the ...

where to find the details of j3d.util class

242 byte By markzhore at 2007-9-26 5:21:46
Hello,I want to find the details of com.sun.j3d.util classes,its fields, methods, etc , which i have not found in tutorial or specification.please could you be kind to tell me?thanks.mark zhou

"Cannot find class java/awt/Graphics2D" - error in Netscape

1326 byte By rajatng at 2007-9-26 5:23:30
Hi All, I have written a program that makes use of JApplet, JTabbedPane, Canvas and Java2D. The code for Java2D is written in the class that extends Canvas. The Canvas is displayed inside a Tabbed Pane. The Applet is called from an HTML page which has <applet></applet> tags in it. ...

Chart2D: 1.6.2 Released: Free

955 byte By jjsimas at 2007-9-26 5:23:56
Keywords: chart2d, chart, graph, pie, bar, line, dot, scatter, plotChart2D is a library written in Java for adding 2D charts to Java programs (or for exporting them to images). It can draw the following charts: pie, line, vertical bar, horizontal bar, scatter-plot, and charts with any ...

The right way to reading and distinguish barcodes from picture file needed.

178 byte By Renat at 2007-9-26 5:24:00
Hi all.We need to reading and distinguish barcodes from picture file to process its into different ways.Does anybody knows the right way to do that ?

How to retrieve public & private keys from database ?

351 byte By dsvr_sameer at 2007-9-26 5:24:06
hi,I am using RSA algorithm to implement security.The generated public and private keys, I am storing in database. but when i am trying to retrieve them, it is throwing ClassCastException. how to get the stored keys from the database ? (how to cast them into public and private key interfaces ?) ...

Performance of SSLSocketFactory creation.

200 byte By sijaffer at 2007-9-26 5:25:36
Is there any documentation on SSLSocketFactory and why it takes so long to instantiate even though you use your own keystore and certificate instead of cacert? Sameer Jaffer

HTTPSURLConnection/JSSE

5993 byte By jingeno at 2007-9-26 5:25:44
Hi...I am having some difficulty making a secure connection to send/receive streams. In order to connect to non-secure sites, I use the following code:// Initialize URL variablesURL url = null;HttpURLConnection urlConnection = null;// Get handle to URL and its connectionurl = new ...

building applet for intranet urgent

791 byte By naslund26 at 2007-9-26 5:26:27
I have some Applet questions I was wondering if you could take the time to help me. I am building an applet for an intranet site which needs to connect to a database.The applet will only be used by several hundred people at the most. So it should have unrestricted access to what ever it needs ...

executing notepad from an applet

110 byte By awhittaker at 2007-9-26 5:27:29
Is it possible to execute a program on my machine from an applet. ThanksAwhittaker

java.lang.SecurityException:- sealing violation

1857 byte By shahid_faiz at 2007-9-26 5:31:12
i m writing a client for EJBs which receives XML from EJB, parses it and then use the information. while parsing it gives the following exception.while the same parser is used in EJB deployed in WebLogic works well .... any one know please help me .... Parser: parseSchedule() ...

Problem with filling after zooming

946 byte By amitforjava at 2007-9-26 5:32:20
Hi all, I have created a bean which would zoom in and out the graphics draw on it. My class is basically extends from JPanel and I used the scale() of the Graphics2D class for zooming. I also increase the size of my panel depending on the zoom factor. The problem which I face is that, sometime ...

HELP : Kerberos

223 byte By allthingsweb at 2007-9-26 5:33:19
I am just into the area of "Kerberos" to achieve some meaningfull security to my authentication process.Can anyone please revert with detail information about what is kerboros and how to impliment it ?.

Multiple SSL requests creating problem

1176 byte By istikhar99 at 2007-9-26 5:33:28
I am developing a java servlet as a gateway between clients and SSL enabled webservers.I am using JSSE version for connecting to different SSL enabled serversMy Requirement is to connect to mulltiple SSL enabled servers through java program .Actually after successfully log on to first site (any ...

policyfile for signed applets

574 byte By csavsur at 2007-9-26 5:33:32
hi,if a signed applet is verified with a cacertificate in cacerts, it seems to get full permissiondespite the restricted set of permissions givenby the .java.policy file in the user's home.also with netscape(4.76, 4.77&4.78) on linux, even after clicking the deny button in the security ...

Trouble with getting the policy file to "take affect"

291 byte By buttercup21 at 2007-9-26 5:33:47
I've signed my jar file, created a policy file, point to it in java.security - but I still don't get the permissions that I've tried to grant myself... ? I'm trying to get this to work on a browser - do I have to use the RSA format? Any help would be GREATLY appreciated!!

How do I change the rendering resolution for printing?

239 byte By lordofdawn at 2007-9-26 5:35:07
Has anyone figured this out yet? I am writting an app the prints out forms and lots of reports and they keep coming out very ugly because it is only printing at 72dpi, I need it to be at 300 or so...Thanks,Peter

For those who are having PERFORMANCE problems with JSSE

1154 byte By ctmoore at 2007-9-26 5:36:14
I have figured out one of the main causes. If you use the default implementation of the SecureRandom object (you use this if you don't explicitly declare and seed one in your code), the seeding of the object takes an excessive amount of time. The problem is in SeedGenerator, it calls ...

Applets and Netscape 6!

4317 byte By harippriya at 2007-9-26 5:36:31
Hi there,I am not sure if this is the right forum to post my question. However, i saw some discussions reg. Applets on Netscape 6 and i guess that many of you might be familiar with the scenario.I'm having trouble getting any applets to work on Netscape 6 when I have HTTP authentication on the ...

Do not want to send local requests through proxy?

324 byte By dexterf at 2007-9-26 5:36:51
I am trying to connect to a site through a Proxy server using Https. This works fine. I would like to know how to prevent certain requests from going through the proxy. More specifically, if I make a request to localhost or some predetermined url, i do not want that request to go through a ...

Problem with SunJCE provider

597 byte By damialok at 2007-9-26 5:37:23
Hi,I use the SunJCE 1.2 package in the Websphere 3.5.3 environment. The encryption-decryption works fine for sometime but later throws this exceptionjava.security.NoSuchAlgorithmException: Class com.sun.crypto.provider.DESedeKeyFactory configured for SecretKeyFactory not a SecretKeyFactoryI ...

JMF and X-10 camera

65 byte By undrgrnd at 2007-9-26 5:38:51
Has anyone used JMF with an X-10 (XCam) USB Camera?

If I lost my private key, how can I decrypt data encrypted before?

550 byte By gumin at 2007-9-26 5:39:39
Hi all, I bought a security smart card from a CA, as the CA announced, the private key was stored in the smart card as it was generated. I used the card to encrypt some sensitive information, after that I sorted the encrypted data in somewhere. So only the person who have the card and also ...

which format should I DL?

312 byte By ZEDDY at 2007-9-26 5:41:47
Hello,I'm not sure which Java 3D 1.2.1_03 Software package to DL. I am running Win2000 on a PIII 750(i think), 256MB, 3D RAGE PRO AGP 2X. This is my pc at work.I'd also like to DL it for my home pc. There I have a PII 366, 96MB, Voodoo 3 2000, running Win98. Any suggestions? ...

unix password encryption

143 byte By eeoam at 2007-9-26 5:41:53
Hi,does anyone know where I might find a Java implementation of the UNIX encryption algorithm?thanks,Eric M.

Unwrap a key with JCE

500 byte By skiporama at 2007-9-26 5:42:47
Has anyone ever gotten Cipher.unwrap() to work? The chicken-and-egg problem is that Cipher.init() requires a key to be passed to it, but you don't have a key yet if you're trying to unwrap a key.I have read through a bunch of posts where people have asked this question, but no one has ever ...

Dynamic generation of transparent images

971 byte By marcelosoares at 2007-9-26 5:42:58
Anyone knows how can I generate a transparent image from a servlet?Anyone could pass me a sample code?I already tried all the solutions posted in this forum but I cant generate the image yet.Here is a sample code that I m using to generate images with no transparent images.If anyone knows what ...

Setting Up a Server Certificate

481 byte By wloucks at 2007-9-26 5:44:22
In the "J2EE(TM) Developer's Guide Security" it says, unless a server certificate is installed, the HTTPS service of the J2EE server will not run.My intent, is to get a certificate as cheap as possiblefor learning purpose (non-commercial/individual). Doesanyone know where the cheapest ones ...

J2SDK1.4:NoSuchAlgorithmException

4462 byte By jbfabula at 2007-9-26 5:46:05
Hello,Just encountered the ff. stack trace below:=========================================Error : Algorithm Blowfish not available java.security.NoSuchAlgorithmException: Algorithm Blowfish not available at javax.crypto.b.a([DashoPro-V1.2-120198]) at ...

signed applets & ca certs

313 byte By csavsur at 2007-9-26 5:46:41
hi, it seems that signed appletsverifiable with cacerts get fullpermission overriding permissions given in {user.home}/.java.policy?also the deny option in the security windowdoesnt seem to work. i am working in linuxand use netscape4.7X.cud anyone clarify? ...

How to 'move' viewport across larger area

953 byte By boltonto at 2007-9-26 5:48:02
( Also posted to Java Programming - I erroneously posted this there instead of here - Sorry for the duplication)Hi,Small problem I have with regard to having a large 'game world' (such as 5000x5000 pixels), in that I have no idea how to tackle it.I took a look at the Graphics2D translate ...

Java 3D on MacOS ?

98 byte By silversamba at 2007-9-26 5:48:28
Hello, could anyone tell me if Java 3D is available for MacOS ? ThxJan

JFM2.1.1 provoking suicidal tendencies

175 byte By smcelroy1 at 2007-9-26 5:48:43
Can anyone solve this for me please.JMF Version... 2.1.1aWin32 BuildNative Libraries Not FoundI'm running windows 2000.Thanks

Signing jar-files

520 byte By PeterssonM at 2007-9-26 5:50:22
HiI've been trying to sign a jar-file with a certificate that I have created using openssl (I can not use keytool to generate private keys due to the pki infrastructure at my site).I have tried to use pkcs12 files with the option -storetype pkcs12 with jarsigner but I get the ...

Join the Microsoft boycott!

185 byte By eeyvind at 2007-9-26 5:50:57
Join the Microsoft boycott.Check out: http://www.geocities.com/virtualexp/ms.htm Webmasters! Support this action by linking to this page.

Join the Microsoft boycott!

178 byte By eeyvind at 2007-9-26 5:51:00
Join the Microsoft boycott.Check out: http://www.geocities.com/virtualexp/ms.htm Webmasters! Support this action by linking to this page.

CPU killer

851 byte By ceglar at 2007-9-26 5:51:41
It seems that J3D utilises 100% of available CPU in interactive apps to maximise rendering etc..This is fine if the Java3D app is the only important process currently executing. However I am trying to use J3D to develop interactive representations of data mining processes.The DM alg and J3D ...

adding swing (or awt) components on top of player

226 byte By DRappoport at 2007-9-26 5:52:41
Does anyone have information about painting or adding Components on top of a playing video file? Many people seem to have had an issue with this judging from the archives.Help would be greatly appreciated!

ambiguous error...

3939 byte By jagsdj at 2007-9-26 5:55:51
Hello all...I have been racking my brain for three days now and I cannot seem to figure out what is going on...here is the code that I am trying to compile (its not mine...its chimmenylingo's)import java.security.*;import javax.crypto.*;import javax.crypto.spec.*;import ...

Unable to get Java3D to work

592 byte By eslut at 2007-9-26 5:56:17
Hey all, After installing the 3D api none of the samples will run on my machine. I just recieve an exception error. I have tried running the samples via Forte, IE 6.0 and Netscape 6.1. None work, just errors. I have also visited websites with Java3D samples and my browser will just shut down. ...