I am having protocol difficulties connecting a JSSE client to an OpenSSL server. Here is what I have tried so far with the accompanying results:JSSE client code:KeyStore keyStore = KeyStore.getInstance("JKS");keyStore.load(new FileInputStream(fileName), new ...
I have a bounding rectangle that a user can add lines onto. The lines will always extend to intersect the rectangle, so a new shape is always created.Does anyone have any ideas how I would traverse the lines and intersection points to create the bounded polygons created as each new line is ...
330 byte By
shadya at 2007-11-27 1:39:49
Hello every body...i want to ask if there is any pakage at java that help me to generate pairs of private key and public key for the sender and then, use the pairs to encrypt the message and send it..Please, give a java example that can help me to understand the solution if it is ...
It just happened. I've regressed to Java 5 with the result that I can play video files again.Strangely, JMStudio still worked after installing Java 6.The JMF code I use is very ordinary and uses nothing special.The video files are all MOV Cinepak files.The symptoms vary from file to file. ...
i am providing the url "C:\\Documents and Settings\\snehasis\\My Documents\\aa.gif" for an image located "C:\\Documents and Settings\\snehasis\\My Documents\\aa.gif") and it is throwing an error. It is due to the path not found .how to rectify it
418 byte By
cakea at 2007-11-27 1:41:52
Hi,I have two images (i am very new to this) what is the simplest or most effective way of comparing the two? Can you make a hash of the images and then compare that, is that easier, if so how do you do it?As i said, very new to this (are there functions to do this kind of thing?) so any advice ...
339 byte By
sam.xiea at 2007-11-27 1:41:53
hello allI attempt to implement a chatroom(like interphone),but has some echo,how to filter it?MIC(pc1) ->audioInputStream ====>network==>audioInputStream>Speaker(pc2)MIC(pc2) ->audioInputStream ====>network==>audioInputStream>Speaker(pc1)can you give me some ...
Hello, I was wondering what could be the best way of getting a html visuallization of a text or even rtf and converting it in a image... using Java!Thanks
We are doing text capture of a Java Window by causing it to repaint and hooking into the Java_sun_java2d_loops_DrawGlyphList_DrawGlyphList@20 function.It works great with Java 1.5.Not with java 1.6 Have verified that Java 1.6 does still use that function and that its signature has not changed. ...
4769 byte By
uk0102a at 2007-11-27 1:42:30
Getting the following error while running a simple junit test case.Build by ant and running on eclipse3.2 with junit 3.8 ,Java 1.4.2.Can any one suggest the solution?this is the testcasepublic void testEditProfile() {try {boolean isUpdated = regManager.editProfile("1", "Samikshya", null, ...
755 byte By
X999a at 2007-11-27 1:42:37
Hey out there I have created an ftpClient application that uses "jakarta ftpClient". It works fine as an JFrame application ?But when I converted the Application into an JApplet I get the following Exception: java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient I have bundled ...
3135 byte By
PaganBa at 2007-11-27 1:44:26
Hi Folks,I am receiving the following error message when using smime to sign a digest. com.baltimore.jsmt.smime.JSMTException: Vault.signDigest(); nested exception is:com.baltimore.jpkiplus.vaults.VaultException: Vault.signDigest(); nested exception ...
HiI have a signed JApplet running just fine, accessing various places on my harddrive to read and write files, with Java 1.5.x. But this morning my Java version upgraded to Java 1.6 and this functionality has stopped working. I get the :java.security.AccessControlException: access denied ...
Hello,,I want to ask if the java can support the SSL protocol that used for secure authentication?Is there apackages that do this function at java?if there is plese give me the pakcage and how it can be used?
380 byte By
PeteFa at 2007-11-27 1:47:10
What are the advantages of FMJ over JMF? I understand that sun does not provide any more support on JMF, but is FMJ in a state today that can replace JMF?I am having memory leaks problems using JMF with fobs4jmf today. If I switch to FMJ, do I still need to use fobs4jmf or does FMJ support the ...
Dear users,I am trying to develop an applet. As a test case i wanted to test if i can write an event listener and repaint the screen accordingly. But i dont seem to get it right even after n trials. :( Could someone please point out what's wrong with the code given here?thanks in ...
Hi, I am making a application where I can record stuff from my webcam, I have code to do thsi but it has hard coded a capture devcie, i want to make it so that i can select it from a list (easy ebnough i shoudl imagine) but im trying to get it from a list the code i think i need it something ...
Hello All, In our application we have siteminder as our webserver par , for every request it hits the siteminder and then the control comes to the weblogic.The strange problem we are facing now is, it was all working fine in the development environment when the same EAR is deployed in our ...
Hello All, In our application , when the rquest is sent to the siteminder it is throwing following exception.[20/Apr/2007:20:09:59] failure ( 3322): for host 10.2.3.4 trying to GET /AB/siteMinderInterface, wl-proxy reports: exception occurred for backend host '10.2.3.201/9808': ...
6168 byte By
javacia at 2007-11-27 1:49:36
Hi, I search forum but i can't find any solution.I can't draw lines on a BufferedImage.Here, some of my code:Thanks in Advancepublic class CanvasDemo extends Canvas implements MouseListener,MouseMotionListener {public static final int LINES = 0;public static final int POINTS = 1;int mode = ...
I have a small sample program that replicates my problem. When this program is run a window is created. If you select File->New another instance of the program window is created. Now if you try to go back and bring to front the first window, keyboard focus is not transferred when run under ...
9338 byte By
DougJrSa at 2007-11-27 1:50:48
Good Afternoon All!I have put some code together that will take a string, break it into 16 byte pieces, encrypt it using RSA encryption, an then combine all of the pieces.The problem is that when I try to decrypt it I get the exception "javax.crypto.BadPaddingException: unknown block type"(I ...
In Tour3D'Obstacles class,i want to use BoundingBox instead of BoundingSphere.But it doesn't work.Here is source:// Obstacles.java// Andrew Davison, April 2005, ad@fivedots.coe.psu.ac.th/* Obstacles stores a 2D boolean array (obs) representing theXZ plane. The row index is the z-axis, the ...
I don't know or care about buffered images, etc I just want this image to display as simply as possible but when it paints it only draws a grey panel. The file name is correct and I followed the example as closely as I could, can anyone tell me where I'm going ...
Not quite certain which of the forums this question fits into, but I try here since the project is 2D...I have been asked to create a crossplatform (linux, windows, osx) multimedia presentation project and I have got to belive that Java may be a good choice. The project is sort of like ...
870 byte By
nsadhala at 2007-11-27 1:52:27
I would like to construct a wireframe of a nonconvex polyhedron, but I would only like to show the front lines of the wireframe, as though the polyhedron had solid faces. However, I would like the object to be a true wireframe in that I can see other objects inside of it. Essentially, I'd like ...
Hello, I am tying to use the SSLContext class in a nonblocking IO application with "TLS" protocol in Server mode. I am seeing a "no cipher suites in common" error message during the handshake.The Client is requesting for "TLS_RSA_WITH_RC4_128_MD5" but this cipher is not available (verified from ...
506 byte By
urddda at 2007-11-27 1:54:37
I'm looking for a memory efficient way to convert a jpeg image from cmyk to rgb.I can't load the whole image in memory. The image is too big (I already have a lot of ram).Do you know how to do it? Would you share it with us?At the end of this thread ...
136 byte By
emerala at 2007-11-27 1:54:55
I'm trying to make this simple drawing: http://i91.photobucket.com/albums/k293/rawlehypermode/javagui.jpgAny ideas?
552 byte By
wr34ta at 2007-11-27 1:55:49
Hi,How can I delete created ImageIcon object from memory?I have been written a program which works as presentation. On HDD is save e.g. 1000 images and I would like to load one image per time and show it to screen. public loadNextImage(String path){//THERE bgImage ALREADY EXIST AND I WANT TO ...
1011 byte By
cakea at 2007-11-27 1:55:58
Hi,I am just starting to play with ocr. I have a 5x7 grid of boolean values that represent my downsampled character maps. I want to draw these onscreen so so that i can look at them and see if they are correct (or what I expect anyway). I am simply wondering how to go about this. If the value ...
Hey everyone... I have a code which is in C which computes the MD5 hash of data from an input file. I am trying to convert it to Java.I have these questions:1) The C verion makes use of the API's: MD5Init, MD5update and MD5Final. These functions are avialable in MD5.c However, the Java ...
Hi!I am trying to load a VRML file with java 3D. The problem occurs at the line that is bold.I get this error:Error: java.lang.NullPointerExceptionCould someone help me?I already checked that the VRML file is at the right place...What is the problem?thanks for your help!import ...
Hi All,Please help,I want to zoom the buffered image using Affine Transforms, the code shown below can rotate the buffered image now how to zoom the same buffered image using Affine Transforms.import java.awt.*;import java.awt.event.*;import java.awt.geom.*;import ...
Hello sir/mamI am facing some problems in both the files.When I started AVTransmit2 file on command prompt it shows............................................created RTP session 172.16.106.160 1500start transmission for 60 ...
34750 byte By
pintoia at 2007-11-27 1:59:36
I have a program that transmit video from webcam to various clients , but it also must save a video if the client want. My problem is that i must create a clone from the datasource that is sent to save the video but when i close i stopped saving and i want to save a nother video i can't use ...
Hey guys n gals,I checked the forum and there are lots of people asking questions about this topic but no answers.Anyway i created a new player in a program i wrote and im trying to play a .avi file, when i do i get the following error? Unable to handle format : MJPG, 320x240, FrameRate=20.0, ...
900 byte By
ashiersa at 2007-11-27 2:01:41
Hi there,I'm wanting to create a simple whiteboard application. Nothing fancy, just an app that allows me to select a pencil tool and draw shapes on a whiteboard. Does anyone know where I can obtain sample code on how to do this?I've had a look at numerous tutorials on Java2D but those ...
Hi, i am currently loading an displaying an image using an image reader example i found on the Java website. When this code reads the image in, it sets the components preferred size to the images actual size. The problem i am having is that i add this component to another frame, but i tcomes ...
1069 byte By
thomlepa at 2007-11-27 2:04:03
Hello,I have a polygon (QuadArray) that I'm having lots of fun rotating using the Behavior class. The problem is, after the polygon is rotated,The X,Y, and Z values of the Point3f points are unchanged. Visually the polygon has been rotated, but the Point3f objects that define the polygon have ...
How can I make a signed JAR that expires in a week, therefore, not letting anyone launch the program after a week?
346 byte By
Liusua at 2007-11-27 2:05:25
Accord to the JMF format list,i know that the jmf support D/E g711(u),but only support Decode g711(a).And all,I can't see nothing about the g729 in format list.Can anyone tell me ?or ,if JMF default not support,any methods can fix the problem?(may be use some plugin?)Thanks.Message was edited ...
Hi,I'm doing a vectorial drawing program and I want to draw a rectangle around a shape when it is selected. I actually get the rectangle by calling Shape.getBounds2D().However, if the shape is a Bezier curve (GeneralPath), the returned rectangle is not what the user is expecting since the ...
370 byte By
Dayaa at 2007-11-27 2:05:35
Hi,i am developing a new software to play the *.MSV files for online transcription system the problem is the audio files should not be downloaded on the client side and should play online, and i have to integrate a foot pedal to integrate the reversing and forwarding. I need some one to help on ...
692 byte By
nehaba at 2007-11-27 2:05:40
Hi,I have been configuring SSO using Active Directory 2003. Its on Windows Server 2003 enterprise SP1. First I configured using DES. I used Set User Account for DES for both client user and SPN. Then I created proper keytab file using -crypto des-crc-md5, +DESOnly tags. But I still kept on ...
Hi,I have to store a userccert.pem (public key) files sitting in the user home dir into a MySQL DB. Since I believe a pem file is ascii character so I read the usercert.pem as a String. I have tried to get the credential out as a String, and it is printing out the credential. But it is not ...
450 byte By
servelta at 2007-11-27 2:06:44
Hi,I not a technical guy. I need a help on this issue. I would appreciate your help!while continuous working on a application ( java based) , unexpectedly a login pop-up comes between and ask for username and password. Now I would like to know what parameter setting causes this problem of ...
69 byte By
Liusua at 2007-11-27 2:07:03
is the JMF Control only means some GUI component?Thanks
1192 byte By
Kenkena at 2007-11-27 2:07:15
Morn to all ;)I am doing a small GUI using swing for my project now and having this problem:I try to draw a path on JPanel, it can be like this--|||path:|| ***********|||--and the path would be dynamically set if some external events come, then it should be an interactive component on the GUI, ...
1422 byte By
mirko81a at 2007-11-27 2:07:18
good morningi have 1 question for this key but not found answer.I use the DESedeKeySpec for create spec and new key whit my secret codethis is my codeDESedeKeySpec keyspec = new DESedeKeySpec(keyString.getBytes());byte [] b = keyString.getBytes();String app3 = new ...