Hi all,I'm just writing an applet which is to read from and write to the local file system. Since it is also exclusively to be loaded from the local file system, it actually doesn't have to be signed (as far as I know). The CLASSPATH contains the path the applet is loaded from. Anyway, I ...
Can I transform a received pkcs12 certificate to a x.509 one ?
12568 byte By
O66183 at 2007-9-26 6:46:11
Hi, I'm using JDK1.2.2 and I've downloaded and installed JSSE1.02. I have also installed the server cert in my own truststore. The server to whom I want to connect sends two certificates. One is valid and this is the one I need and I have and one that is timed out and of no importance for ...
I am using JSObject to communicate between applets and javascript and this is working fine.Indeed I have seen examples on the internet of calling an applet method using javascript when the applet is embedded in the HTML using the applet tag.What I cannot find anywhere is how to call an applet ...
120 byte By
mjucker at 2007-9-26 6:48:33
I want to show a tif in a JLabelI know Java work with gif and jpeg, but what 's about tif ?
HI ,I have developed and tested Encryption using Ciphers and SecretKey , i used the JRE1.4 .But other components are being developed using JRE1.3.If i try to run my code in JRE1.3 i get many errors.Is there anything i need to do before i integrate with other components on a diff JRE..Thanks in ...
1079 byte By
psala at 2007-9-26 6:49:43
I have java code that makes an ssl connection to an HTTPS server.The code workes fine when I connect to a server that has a certificate that was issued by a recognizable authority.But when I try to connect to our test HTTPS server which has acertificate that was created by ourselves for debug, ...
3161 byte By
zz2a at 2007-9-26 6:50:11
Hello.I have just downloaded JMF 2.1.1 and have cribbed one of the examples to produce an application that will capture audio input, process it and pass it straight to the speakers. However, I am getting echo, i.e. the input signal appears twice at the speakers, shifted by about half a ...
HiIs it possible to do method level authorisation in java.I was under the impression you grant permission at the class level. Can you please inform as tohow we can grant permissions at method level.example : class A {method1();method2();};can I grant permissions to A.method1() to execute, ...
95426 byte By
lsbueno at 2007-9-26 6:50:53
I modified the source code from http://www.javaworld.com/javaworld/javatips/jw-javatip111.html? to use proxy authentication and it's working fine for some websites but not for others... When I use it with a website that has a V1 certificate (e.g. www.verisign.com) it works fine but it doesn't ...
4281 byte By
gkpc at 2007-9-26 6:51:11
HiI am using DES/ECB/PKCS5Padding to generate a key. I am storing the key in a file. I am using the key to encrypt the password, which I store in a password field (size: varchar(128) in Oracle). When I decrypt the password at the time of login (using the key from the file), I get the ...
3004 byte By
mozilla4 at 2007-9-26 6:52:03
Hello. I am a high school student working on a science fair project. Right now I am using JMF to grab a frame from my ATI TV Wonder USB. The code below accesses the TV Wonder but it seems like I get a null frame because I have put a if statement in the code and it says I have a null image ...
I really need help.When I use jsseJava, I meet an Exception "No available certificate corresponds to the SSL cipher suites which are enabled"The Exception appear when "SSLSocket clientSocket=(SSLSocket)sslServerSocket.accept();"Environment:os:windows2000 serverJDK/JVM: version 1.3.0.2javaSSL: ...
1022 byte By
arielext at 2007-9-26 6:53:48
Hi,I want to control a Transform 3d from within a behaviour. I tried a PositionInterpolator but I'm getting the same error over and over again : NullpointerException. I know what it means, but I don't know why it's there, here is a part of my code :Xmove = -2.0f;Ymove = 0.0f;Transform3D ...
Hi all. I'm having a bit of a problem with policy files and granting different persmissions to different codebases. What I have at the moment is a server app that copies a class file from the client to a specified directory on the server, and then dynamically loads and runs that class. This ...
i am doing a chat project and want to give a visual notification to the user if a new message comes and his browser window is minimised. Something that the yahoo messenger provides
884 byte By
jkburges at 2007-9-26 6:58:06
Hi,Basically what i want to do is grab a certain number of frames from an MPEG file and save them to JPEGs.I have pretty much followed the example given at http://java.sun.com/products/java-media/jmf/2.1.1/solutions/FrameAccess.html It works fine when i run just this bit of code by itself ...
262 byte By
drewlane at 2007-9-26 6:59:36
Hi,Can someone explain how to create a JPG with feathered edges using Java 2D?I'm looking for that soft edge effect you see on the web everywhere...A snippet of source code would be appreciated!Thanks!Drew
123 byte By
cslhs at 2007-9-26 7:00:22
Would anyone tell me how to get the private key from pfx file or p12 file in Java.Thanks a lot.
698 byte By
nemov at 2007-9-26 7:00:23
Hi.I am trying to understand how SunX509 algorithm works in a TLS context. When Server or Client authentication is done, which keys of the keystore are used?I mean, when you set up your KeyStore instance, it is loaded a whole KeyStore from the filesystem, which has a lot of keys to be used. Are ...
80 byte By
rahul31 at 2007-9-26 7:01:11
can anyone please tell how to resize ie. zoom in\zoom out images.
96 byte By
rahul31 at 2007-9-26 7:01:14
nobody seems to know how to resize zoom in\zoom out images. can anyone please help
106 byte By
hemag at 2007-9-26 7:02:05
Hi, I want to draw a histogram. Can anyone please tell me which package I should use?
656 byte By
wilmort at 2007-9-26 7:05:10
Hi all,I am developing a soccer game for fun. I've already done a simple animation, with squares instead of players and a green screen with white lines as the field. Althouth this simplicity. The only technique I've used is double-buffering. The system runs a bit slow.I don't have many ...
2121 byte By
m_ansram at 2007-9-26 7:06:11
Friends,I am using the JSSE 1.0.2 implementation for sending a HTTPS request. I have installed it as an extension properly.(on Java2, JDK 1.2.2)I am getting the following exception when trying to do a url.openConnection(). Exception in thread "main" java.net.SocketException: SSL implementation ...
I have a program which captures live video from a video card and puts it on a frame.When I try to put this in an appplet the sound streams through from the datasource but I can not get the visual aspect to come through.Are there any issues putting live video into an applet versus putting it ...
16 byte By
bozic111 at 2007-9-26 7:06:45
,.
When doing live video cpature , if you have yourdataSource (the name and format of the videoCapture card) , is it enough to just create a player after that with the following line :player3 = Manager.createPlayer(dataSourceCurrent);or do I have to use medialocator or URL or anything else?If so ...
212 byte By
jmathers at 2007-9-26 7:11:27
Does anyone know where I could find comprehensive documentation on the keytool program? I've looked al over Sun's site with no luck. A third party book would be fine.tia,jeff mathers
217 byte By
heiss2 at 2007-9-26 7:11:30
Can I display at the same timemore then 1 3D frame with JDK1.3 / 3D1.2.1_03 ?When I try to instanciate the second Canvas3D, I become a null pointer exception.Thanks in advance
Hi all,I am using Java 1.2.2 with the JSSE 1.0.2 extension installed. I have what I am fairly sure is a PKCS12 keystore generated by an AS400 which I am trying to load - code snippet below:KeyStore ks = KeyStore.getInstance("PKCS12", "SunJSSE");ks.load(new FileInputStream(keystoreName), ...
1226 byte By
aa4lr at 2007-9-26 7:12:04
I've got a situation where I have a server written in C++ on a Windows NT system, and I'm trying to communicate a limited amount of information cryptographically from a Java client.I've attempted to use the JCE to perform a Diffie-Hellman key exchange with the CryptoAPI, then use the secret ...
257 byte By
MickeyB at 2007-9-26 7:12:25
This has been asked many times, but I see a lot of '0' responses.I want to build animated games with Java2D, should I use a Timer or Thread(while(true){} situation or both?Games ranging from pacman to full blown rpg's.M
8241 byte By
jasition at 2007-9-26 7:12:58
Hello all, I have been wriiten a program that prints styled Chinese characters,using TextLayout class. The strokes are incorrect, some shorter, some longer. The TextLayout firstly layout the text and attributes with specified width and height (in case word wrapping is needed), then when ...
652 byte By
~toki at 2007-9-26 7:13:02
How can make a move in a 'relative' way.I use transform.add(Vector3f) but nothing happens.If i use transform.mul(Vector3f) it make some move...Ex.TransformGroup l = (TransformGroup)bg;Transform3D transform = new Transform3D();l.getTransform(transform);transform.add(new Vector3f(1.0,0.0,0.0)); ...
862 byte By
FFloreta at 2007-9-26 7:13:03
hi,I am using trying to Jar an application that uses the JCEpackage for encryption.When running the jar file the following exception ocurss: java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAsat ...
I have stepped through my code and found that the provider, ("SunJSSE") is found and registered, but the Cipher.getInstance() method cannot find the RC4 algorithm. NoSuchAlgorithmException is thrown. I've tried both the static and dynamic methods of registration, to no success. Both the jsse ...
256 byte By
YaoG at 2007-9-26 7:14:23
I have a program is running on NT. But not running on Unix. There is exception:javax.net.ssl.SSLException: Received fatal alert: handshake_failure (no cipher suites in common) .Can anyone help ?Thanks for you help.
213 byte By
miriamf at 2007-9-26 7:14:42
Hello,I don't know how to get the jmf.log file that gets created when my application is executed to be placed in a specific directory.Can anyone help?Thanks,Miriam
this is my java code to create image:image = new BufferedImage(500, 300, 1);.......then generate jpg filemy jsp content:<img border=0 height=300 src="../../images/W30_2_0010.jpg" width=500>but the image show on browser is smaller than the size I set in jspWhy? ...
2201 byte By
KangN at 2007-9-26 7:17:58
Hi ,I have a JApplet which displays a tiff image. The applet uses JAI API and Java 2D for printing. I can zoom in . zoom out , invert the image and I am printing the displayed image also . In the action handler class for the print button , I have made an inner class implementing printable and ...
375 byte By
detatsun at 2007-9-26 7:18:23
When comparing the Performance of the CopyPerfArea example I found out that it runs about 4 times faster on Windows than on Linux on the same machine.It seems that Java2D relies on XPutImage for blitting the Images with drawImage.XShmPutImage is 4 times faster than XPutImage on my system.Is ...
667 byte By
J-Star at 2007-9-26 7:19:18
I want to make an applet that will run on Netscape (4.x) and IE (5.x). In this applet I want to use JavaMail. JavaMail wants to go outside the sandbox (it wants to read the system properties). IE makes some fuzz on the console window about this and Netscape refuses, causing the applet to ...
2673 byte By
garbersb at 2007-9-26 7:19:43
I have been searching for an answer to this problem for a long time and have not been able to find anything on this error. I am running the sample program URLReader that comes with JSSE samples. I am running this on an OS/400 V4R5M0 IBM Server and get the error above. I do have a default ...
I'm running my Servlet/JSP application in Tomcat 3.2.3 on NT. Thinking about moving to Tomcat 4.0.I searched for information regarding setting up Tomcat with NT authentication and am really confused. There's no decent documentation.Can somebody please provide clear information?I want to know ...
2316 byte By
huaqi at 2007-9-26 7:21:15
I downloaded and installed the JAAS 1.0 jar. I then configured and ran the sample program and it worked fine. Then I changed the sample_jaas.config file to use com.sun.security.auth.module.NTLoginModule , and copyed the nt.dll to \gre\bin, replace the jaasmod.jar in gre\lib\ext using the WinNt ...
240 byte By
jeanp at 2007-9-26 7:21:17
I would like to create a voice and video chat application,if any one have the source code related to voice chat. plz mail it to i need it urgently thanks in advance. my mail id jp-v2000@caramail.com
201 byte By
dy_lan at 2007-9-26 7:22:48
Hi Allmy codeImage img = new Image();img = getImage(getDocumentBase(), "images/db_logo2.gif");no error found when compile but the image wun show, anyone knows?
Does anybody knows how can i change the position of the camera (eye position) If im using a virtual universe (not a SimpleUniverse)?
710 byte By
Doud at 2007-9-26 7:23:57
Hi all,I would like to display a byte[] containing RGB values created with a native graphic library (i take a video snapshot).I've tryed to create an ImageIcon with its constructor :public ImageIcon(byte[] imageData) but imageData is normally created by reading an image using ...