VMRL viewer

141 byte By gizio at 2007-9-26 3:37:50
Hi everyone!!How is possible using Java3d load .wrl image? could u help me? where can I find something?THANK YOU

Java Client to POST data via HTTPS

546 byte By aalim1 at 2007-9-26 3:38:36
Hi, I am pretty new to the subject of secure transmission of data. I would appreciate if someone could help/point me in the right direction. Basically my task is to do the following:1. send a xml data file from Java Client(standalone app) to a webserver via the HTTPS protocol.My constraints are ...

cacerts import question

948 byte By beausoleil at 2007-9-26 3:39:11
Hi,(I originally posted this in the wrong forum - plug-in)I am running on win2k, jre 1.3.1-c java2 applet. My applet is signed accordingling. I am using a self signed certificate for testing and have imported this into my only existing cacerts file. I have dumped the file and have seen my ...

How to fix the java.lang.IllegalMonitorStateException?

355 byte By modelart at 2007-9-26 3:39:48
I allocate a Vector,X, and a JFrame in a signed JApplet.After JApplet calls JFrame to do something, itexecute X.wait().When JFrame finishes, it execute X.notifyAll().As a result, the program pops up "java.lang.IllegalMonitorStateException".Does anyone knows how to fix this error?Thank you very ...

How to print paragraphs of text using java.awt.print respecting linefeeds ?

1797 byte By brcard at 2007-9-26 3:40:01
Hi,I am trying to print all text inside a JTextArea using java.awt.print package and JDK 1.2.2.I am able to change page properties, and print all text, but the printed text does not show any line separation the text itself contains.Example :Text in Text Area :Text Line 1.Text Line 2.Text Line ...

31 byte By zendragon at 2007-9-26 3:41:57
Read the subject?

JAVA2D.2.JAVA3D

289 byte By ~toki at 2007-9-26 3:42:01
I have an app that use JAVA2D with BufferStrategy & Full-Screen Mode.I need to create a "viewport" to show some java3d objects.How can i add a Canvas3D over my JAVA2D VRAM buffer?I need to use J3DGraphics2D? Any sample of casting?thks,,

java -Djava.security.manager -Djava.security.policy=myPolicy classfile

314 byte By rkgeet at 2007-9-26 3:42:29
Hi everybody and Sun's member,From the command line we can install security manager as follows :java -Djava.security.manager - Djava.security.policy=myPolicy is it possible to install security manager and policy file by our program. Sugestion pliz.RegardsGt ...

how public key encrypt and private key decrypt? which API to use?

308 byte By rkgeet at 2007-9-26 3:42:41
Hi everybodyFor encryption and decryption, public key is used for encryption. And the private key corresponding to that public key can decrypt the encrypted message. Which API and algorithms is required?Please suggest me if anybody having this idea. RegardsGt ...

Digest in java

491 byte By bharatbhai at 2007-9-26 3:42:49
Please can naybody help me out...I have one script called digest on linux when i am passing input "bharat" to it it's giving me output : "37V7Ll82wfiT28Et1miX1A==".When i am passing that same string to my java digest class it's giv9*** me output: "[B@3ac748".Since i have to store that ...

How to Save the geometry created by java3d

636 byte By sudshy at 2007-9-26 3:43:08
Question No 1.I would like to create a geometry like cube or planeand then save it as a obj format or wire format.And then this file can be opened by autocad oralias|wave front.Is it possible to save it like this way. if possible how?Question No. 2I try with the sample program cube to compile ...

What does high-resolution mean?

134 byte By RobotMIT at 2007-9-26 3:43:38
My mother tongue is Chinese, so I can not understand the accurate meaning. Could you please tell me if you know? Thanks.

BitRateControl

127 byte By turingcomplete at 2007-9-26 3:43:51
How can I use javax.media.BitRateControl?I would like to connect it to a DataSource and find the bitrate..

Why use media tracker?

122 byte By dnoyeB at 2007-9-26 3:43:54
I cant find a good reason to use media tracker over loading the images myself. Does anyone know of a reason?

how to detect edge in a image

354 byte By starfloat at 2007-9-26 3:44:16
hi,all,in java api, i find a method of detect edge,but it don't record the edge's coradinate.now i want rewrite the method:detect edge and save every pixel's coradinate of the edge to a array at the same time.by the way,who can tell me the detail of detect edge in java api,maybe it ...

java.lang.SecurityException

763 byte By erenshte at 2007-9-26 3:45:16
I was using Button Applet Factory (from CoffeeCup) thatgenerates an applet (navigation buttons). Then I have included the generated HTML code into homepage I have designed, including .class file into same directory on the server. The site starts well but after navigating withinthe site for a ...

untrusted server cert chain Error

1433 byte By jdubus at 2007-9-26 3:45:55
I am trying to connect to a HTTPS server using a jsp page, running JRUN 1.3 and JSSE 1.0.2. I have an error message consistenly that says: "untrusted server cert chain".I believe that the certificate is ok, and JSSE is configured properly.Here is the code I am using, do you know where the ...

URGENT : Reading a cert sent by the client

557 byte By glow007 at 2007-9-26 3:47:32
Hi,I am using Apache/Jserv with JSSE 1.0.2 and JDK1.2.2No problems if I connect to a https site and retrieve the content through a servlet. When someone connects to my servlet through https protocol, then the client needs to send his certificate to my server. Then I need to read the contents of ...

looking for the API Specification

188 byte By adco at 2007-9-26 3:48:30
I am new to JMF , and I wanted to check out some of the classes , interfaces etc . - where can I find it ?- it's not that I wasn't looking ....thanks ;Adaya .

Stupid question...How to close a Jframe?

647 byte By Javanico at 2007-9-26 3:48:39
I create an application that read an Xml file and print it in a JFrame.The Xml files have an auto-updating process, and I want the Jframe to be updated too.In my programm I create an another JFrame.I know it's a little bit stupid, but i'm a beginner.I just want to know 2 things:1-how to ...

Turn set of bytes into a JPEG

259 byte By markee1 at 2007-9-26 3:49:56
I have a stream of bytes that I have taken out of a JPEG and wish to turn into a JPEG - I can make it into a JPEG using a Raster and a BufferedImage but cannot get the colour to show correctly.Anyone got any ideas/ suggestions?MArk

Signed applet and HTML parameters

1486 byte By sirius^bbr at 2007-9-26 3:50:24
I've created a signed applet and everything works fine, except for the fact that i can't add parameters to the applet. Without the parameters in the HTML the applet inits and starts and can be used without problems. But when I add paramaters, the applet reports a "class not found exception".I ...

SSLPeerUnverifiedException: peer not authenticated (HELP!)

860 byte By rigginss1 at 2007-9-26 3:50:40
I'm trying to write a very simple Java app that connects to a IIS/Tomcat server and uploads a file (using PUT) via HTTPS (using JSSE and the HTTPClient package w/JSSE patch.) I've done this with no problems using straight HTTP, however I'm not having much success with HTTPS. It seems to be a ...

(Algorithm not found. [Cipher.DESede/ECB/PKCS5Padding])

5299 byte By pdubeau1 at 2007-9-26 3:51:02
Hi, I develop a java program to ecrypt data (name and password) on the client side. After generating my key file, I copy the same file on the server side for decryption purpose. If the login is valide, a file is upload to server via Sockets. When I run the program, I receive an error ...

Displaying Large Images and Out of Memory Error

802 byte By Dhruv12 at 2007-9-26 3:52:29
hi,I am relatively new to JAVA and I have been trying to display a large jpeg in a scrollpane. The image is about 30 mb in size and is very long. When compressed the image is very small (1mb) but when uncompressed it increases in size due to the black background. I have been looking all over ...

Cloneable Data Sources and Custom transports via RTPConnector

869 byte By pbrant at 2007-9-26 3:52:54
Hi,I have implemented a video receiver/transmitter pair that uses a middleware transport product to traverse firewalls and proxy servers. All has gone exceptionally well and video ( for 1 consumer ) zooms along.The transmitter is a factory that on connection from a client starts sending the RTP ...

Can I use different Key-length to test Mars

191 byte By mclxo at 2007-9-26 3:53:58
hi,I'm doing a testing on Mars algorithms. Can I change the key-length in Mars to do testing? or can I change the block size? If so, how can I do it?Thanks

zoom the selected area in an image

357 byte By sangeeta_bg at 2007-9-26 3:54:37
hi all,i heve created a an application in which user can select an area and on an image and then zoom that particular portion but when i zoom it the image keeps on going to the right bottom corner of the screen.I want my zoom to keep the selected area in the center of the screen.can anybody ...

3d Theory. vcs to scs transformation.

1679 byte By Ragnvald at 2007-9-26 3:54:57
Hi you 3d gurus.Please give me a tip!If you have a point with coordinates given in the View Coordinate System, how do you translate it to a point on the screen?The point is given by x,y,z in the view coordinate system (vcs). (x is horizontal, y is vertical, and z is distance stright forward ...

grant permission within code

341 byte By kfsong at 2007-9-26 3:55:09
Hi, guys,I have to modify the java.policy file before I run my applet for the first time.How can I grant permissions from within my code ratherthan manually editing the file (I don't want the client to do anything other than run my applet).Anybody can help? Thank you in advance.Janet ...

SSL Problem

1735 byte By lambu76 at 2007-9-26 3:55:18
I've tried using your jar for SSL networking, including with JDK 1.4 beta, in a client-server application but I've had some problems.If I use the certificate and keystore bundled with the examples it's OK, but if I use a certificate of mine, both the server and the client give me these ...

grant permission within code?

341 byte By kfsong at 2007-9-26 3:55:22
Hi, guys,I have to modify the java.policy file before I run my applet for the first time.How can I grant permissions from within my code ratherthan manually editing the file (I don't want the client to do anything other than run my applet).Anybody can help? Thank you in advance.Janet ...

big problem : connecting from OpenSSL-Client to JSSE SSL-Server

585 byte By mhansohm at 2007-9-26 3:55:31
Hi all,we have a big problem : It seems that it is not possible to connect from an OpenSSL-Client implemented in C to a SSL-Server implemented in Java using JSSE.The initial connection seems to work properly but when the handshake is started, the JSSE-Server always throws an exception ...

Tomcat, servlet, cacerts, client authentication and Thawte...

15498 byte By avbentem at 2007-9-26 3:55:46
Hello all,the steps and code samples below (well known to you) work fine for a VeriSign Personal Digital Id trial and a GlobalSign PersonalSign demo certificate. However:1) how can I make Tomcat or JSSE use both my default keystore and the cacerts file?The VeriSign class 1 root is in this ...

Can any body help me in reading from HTTPS URL within a servlet

3652 byte By somudg at 2007-9-26 3:56:32
I am having a servlet that will read from an HTTPS site and use it furthur . I am using jsse1.02When I am doing from an application it works fine but when i am doing it from a servlet it throws me an exception in the browser likereported this exception: java/security/PrivilegedAction. Please ...

HTTPS-HTTP session problem.

431 byte By rajeshrajagopalan at 2007-9-26 3:56:56
hi,we want to ssl enable out portal. but since ssl involves a lot of overhead for encryption and decryption we thought of having only a part of our portal in ssl and leave the rest.now my problem is will the session be maintained throught.will there be problems in transition between http and ...

java.lang.SecurityException: sealing violation

989 byte By dinesh_singhal at 2007-9-26 3:57:04
Hi,I got one problem after running one program.Please anyone can help me?Thanks,RegardsDineshjava.lang.SecurityException: sealing violationat java.net.URLClassLoader.defineClass(URLClassLoader.java:234)at java.net.URLClassLoader.access$100(URLClassLoader.java:56)at ...

Image recognition

466 byte By obersong at 2007-9-26 3:57:40
Hi!I have to developp a soft that performs simple forms recognition.Does anybody have a good tutorial for that(with examples)?Anyway, I don't know how to get a picture from a camera, how to load it in java, how to do simple transformations, and how to recognize circles.About the computation ...

Principal propogation problem

829 byte By seastallon at 2007-9-26 3:57:58
Hi,I am very new to J2EE and have just started out with WebLogic security. I have one question that I couln't get answered in any weblogic doc's. How is principal(user) identity propogation handled throught weblogic. Lets say for instance I log in as some user in the server from a servlet, ...

Can't access image files

1245 byte By cfoster2 at 2007-9-26 3:58:50
Wondering if anyone can help me .....I am deploying an applet for an intranet, about 15 local users. The applet is a simple tree view which contains links to HTML files found in the same directory on the server as the applet. These links work fine and I am able to view these files from a client ...

api design overly complicated

219 byte By turingcomplete at 2007-9-26 4:01:02
Is it just me or is the JMF api overly complicated? It seems to take forever to figure out how to get anything done. It's in serious need of convience classes at the very least.just my $0.02

How to write a program to automatically install a certificate file in IE?

602 byte By modelart at 2007-9-26 4:01:42
I've developed a signed applet and have a "x509.cacert" certificatefile. During developing and testing the software, I manually install the file in IE. Thus, I enter"Internet option-->Content-->Certificate" and import the "x509.cacert" file manually.Now I'm going to release the software ...

How to configure policy file to access files on local system?

647 byte By dirre at 2007-9-26 4:03:19
Hi I have an applet that needs to read some xml files and a ttf file to load dynamically some font...from the local file system... I have read this "If a Java 2 applet needs to access local system resources, the local system must have a policy file configured to allow the access, and that ...

SSL Algorithm SunX509 not available

493 byte By rfeemis at 2007-9-26 4:03:20
Hi,I am running SSL via RMI with a test RSA certificate but the Applet produces the following message on the java consoledefault context init failed: java.security.PrivilegedActionException <<java.security.NoSuchAlgorithmException: Algorithm SunX509 not available>>I am using the SSL ...

Obtaining client certificate in servlet using apache + tomcat

795 byte By annehj at 2007-9-26 4:03:45
Hi, I'm porting a webapplication from Javawebserver to Apache/1.3.6 (Win32) mod_jk mod_ssl/2.2.6 OpenSSL/0.9.2bThe application needs to get the client certificate hash code.Using Javawebserver I usedrequest.getAttribute ...

How to disable the certificate hostname verification?

642 byte By rayed at 2007-9-26 4:04:04
In JSSE changes file < http://java.sun.com/products/jsse/CHANGES.txt> It states the following: "It is sometimes useful to "disable" the certificate hostname verification during project development. A single certificate can now be shared among many development machines so that the ...

JPEG Image Scaling Speed

486 byte By ReesW at 2007-9-26 4:04:05
I've got an application where I'm drawing images to the display from a TCP/IP stream. I'm unable to acheive much better than 8 or 9 fps and the real CPU consuming task seems to be the JPEG image scaling. The frames are being scaled by about 2x but the same color depth is retained. I'm ...

Policy file and Signed Applet

705 byte By dnoyeB at 2007-9-26 4:04:22
My applet is working fine with my self signed certificate. I am writing a small c++ program for windows to add my self-certificate to the correct keystore when downloaded and run. Well to all java keystores...Now I want to limit the permission my applet has out of security concerns. How can I ...

How can I pass the userId and pasword to proxy while opening the URLConnect

649 byte By mjossan at 2007-9-26 4:04:33
First I was having problem on how can I send a userid and password for proxy authentication while trying to connect to a servlet from a applet, finally I figured out that I need to add Authenticator asAuthenticator.setDefault(new MyAuthenticator()); and everything started working fine but only ...

How can permissions be given to a resource adapter

584 byte By eseglo at 2007-9-26 4:05:05
I have developed a Resource Adapter and deployed it in the Suns app server (J2EE 1.3), but this connector uses some libraries that need some permissions like modifyThreadGroup. I tried to modify the server.policy file by adding:grant codeBase ...