162 byte By
NickSTGa at 2007-11-26 22:35:31
Hi,I would like to detect parallel lines in an image. How do I do that? Do I need to do some sort of clustering?Any idea please?Thanks
We are running into an issue where when we run a test case to have a TLS handshake with tomcat on port 4334, our CPU load goes very high. The Test case involves a client hello with 0 fragment, and TLS v1 is used.TLS session in initiated on port 8443 of our server that is running Tomcat 5.5 with ...
HiI am working with JMFAnd I Did The Transmision of local media files over the network.Now I want to transmit the live video from webcam over the network.If you have done this, send the source code Plz.thanks.
I have a .NET Framework based program that is using 'RSACryptoServiceProvider' managed class to generate a signature. (SHA1 digest). When I try to verify that signature in Java (using BouncyCastle libraries and setting the encryption algorithm to RSA with ECB block and PKSC1 Padding), it ...
458 byte By
dfgstga at 2007-11-26 22:37:06
Hi,I am thinking about doing a slide show application involving transitions between one image and the next.I haven抰 really looked into it much, so I抦 just looking for pointers in the right direction.What would be ideal is some code I can get teeth into.I抳e been looking into transitions, but the ...
383 byte By
avdzma at 2007-11-26 22:37:37
Hey all,I'm new to this post, so bare with me.I have a XML file that has some setting of the program,and also user name and password to a database.hence i would like to encrypt this file, so no one can read the user name and password.so my question is what should i use?and doany help will be ...
This is the error at runtime.."java.lang.NoClassDefFoundError: com/sun/security/auth/module/NTSystem at GLOBAL.getProperty(GLOBAL.java:20) at oracle.forms.handler.UICommon.onGet(Unknown Source) at oracle.forms.engine.Runform.onGetHandler(Unknown Source) at ...
I'm doing a project to transmit OBJ file from server to client. At the client side, it will render the OBJ file using Java 3D.I managed to complete the project using socket (TCP) to send the OBJ file. At the client side, it will receive the stream and run it using load(Reader) method in Java ...
800 byte By
MgXa at 2007-11-26 22:40:17
I'm working on an application that will contact several ISP websites, to retrieve the connections statistics.Several of those websites needs certificate authentication's.For the moment I found 2 solutions:* Getting the certificate and put it manually in my keystore* Bypass the security by ...
hi all, when using aymmetric algorithms, wether the public key is used for encrytion or the private key? is there any rule of thumb for this?
812 byte By
sunhcla at 2007-11-26 22:41:03
Hi,I want to use certificate to identify my thin client hardware .Only thin client terminal who have certificate will be able to use my server software functionality.I want to issue them certificate on the basis of following information. 1.HW serial Number2.processor type3.OSI am not able to ...
564 byte By
sylsaua at 2007-11-26 22:41:08
Hi,I start with JMF. I use a processor to get DataSource from an audio file. Until there, all runs very well.But after that, I would like to get the raw data of my DataSource to aplly a filter on these data and after that, to create a new DataSource with filters data and play these data with my ...
I am having trouble getting SSO with Kerberos/AD working. I can authenticate against AD if I have captured username and password, but I cannot authenticate using credentials arising from a Windows login.I am on W2000, SP4. I am using JDK 1.5_10. I have set the Windows registry value as ...
HiCould anyone let me know what should be the ideal sizes for the inbound and outbound buffer sizes for the following?1. Outbound buffer - application data (before wrap)2. Outbound buffer - net data (after wrap)3. Inbound buffer - application data(after unwrap)4. Inbound buffer - net ...
Hello there;I am using an array for storing the media files' names, but however, i have few problem:1. the player seems that it's not able to detect the next index, because it only plays the first file which has index 0.2. because of the currentsong=(currentsong+1)% urls.length; the player ...
328 byte By
Sunaya at 2007-11-26 22:46:16
Hi, all I have developed voice chat for lan , but when i try to connect to internet it doesn't working. Pls let me know the reason why is it so?I am behind the Firewall and firewall doesn't allow me to connect to server or transmit RTP data to the another User. Why is it So. Please Reply As ...
Hi everyone. I am new here, and would like to thank you in advance.I am trying to make a semi-transparent plane using 3D with QuadArray. Have set TransparencyAttributes accordingly; and have even tried TextureAttributes. It just doesn't cut it.Without setting transparency, the plane is visible ...
i've downloaded JMF but i don't know how it works and how is it related in inserting a video on a jframe made using netbeans. please teach me.. thanks i need it badly..
Hi, I have written a program to load wrl files. The program runs well when I load the HelloWorld.wrl file to test the program but, when I try to load other file I can't see nothing (I think that the file is ok, because I can see the 3D image with other browsers).I can see something (white ...
Hi all,I am using a form to get user name and password . I want to encrypt it and store in db and in future if the same user enters password then the already encrypted password should be decrypted and matched.i am quite new to encryption and decryption and don't know any java classes for that ...
Hello everybodyI was asked to encrypt a pasword ussing the following procedureI Have 2 function :DES(text,key) and 3DES(text,key).CryptPassword = DES( "06253765", PasswordHash)PasswordHash= 3DES( PadTrail( SubStr(UpperCase("FIMIPROD"),1,8),8) , ...
367 byte By
rossocka at 2007-11-26 22:50:40
was wondering how to combine two shapes or a shape and a line so that they can become one shapeany ideas?polygon2 = new Polygon();polygon2.addPoint(310, 310);polygon2.addPoint(315, 350);polygon2.addPoint(285, 350);// combine with a line of certian ...
230 byte By
emerala at 2007-11-26 22:50:43
I'm trying to make simething like this. However I'm stuck on what sort of algorithm would be used. Any idea? Thanks a bunch in advance for any help! http://i91.photobucket.com/albums/k293/rawlehypermode/Untitled.jpg
590 byte By
Dingnia at 2007-11-26 22:51:57
Hi, there. I have created a client/server program with the sslscoket and sslserversocket, using the keystore and truststore and the self-signed certificate. Now I can send a message from the client and receive the message in the server side using the socket's outputstream and inputstream.Now ...
can i take live video from TV tuner? how?i have downloaded this code for a web cam how can i adjust it to take live video from TV tuner /* * WebcamPlayer.java * * Created on November 22, 2004, 4:09 PM */import javax.media.Player;import javax.media.CaptureDeviceInfo;import ...
HiOK, this is easy to work around; nevertheless...Does anyone see a difference between drawPolygon and drawPolyline?Shouldn't there be according to the API doc(s)?Me: J 5 (_06) on WinXP.
I'm trying to use SSL for encryption only. I don't need to implement authentication, as the app handles that at a higher level. I saw a simple example for setting up the server, from the Java Developer's Almanac. Based on that I set up the server as follows.ServerSocketFactory ssocketFactory ...
I'm trying to implement an SSL connection with a custom protocol above it, not HTTPS. I don't want to use certs because I don't want the users to have to deal with them. So I created essentially a dummy cert on the server, and I'd like to find a way to tell the client not to validate the ...
Hi, I hope this is not a multipost...Here is my problem, I have a Class that draws a graphic2d and saves it in a JPEG format, now, my problem is, I want it to be placed in a component, in a canvas or in a jpanel maybe, so i can preview the image before i save it to JPEG.Thx in ...
plz help me to make a JTree with double click event on each node
1084 byte By
andreyvka at 2007-11-26 22:54:58
Hi,There's an open-source project called sip-communicator distributed under LGPL license. These guys have implemented speex, iLBC and have completed ALAW codecs for JMF. When sip-communicator is started, PlugInManager and PackageManager are used to register new codecs and a new protocol prefix ...
185 byte By
skoloba at 2007-11-26 22:55:31
How can i convert from bytes[] which is how my images are stored in my database to and image and display it on a JPanel?I tried paintIcon but i get a nullpointerexception.
I am currently having an issue reading in jpeg2000 images.The issue is that I cannot find a way to extract metadata that is in the file and also extracting an area of interest in the image is painfully slow. i tried doing a ImageReader.getImageMetadata() but it doesn't return anything useful ...
247 byte By
igor_ba at 2007-11-26 22:55:44
Hello, i'm new in JMF (just started to explore it few days ago), so i was wonderingif someone could recommend me some good books, tutorials for it (especiallyfor audio processing and mp3)Kind regards!Igor
Dear allIs there any class library that I can use to convert between Audio types (mp3, wave, ram and others).Best Regards
1933 byte By
knovaka at 2007-11-26 22:56:41
Helo everybody.I need to solve next problem:1. Build/Use a client program that can operate with the HTTPS protocol. There are no restrictions on the type of client program used, providing it can use this protocol and deal with transactions synchronously.2. Build/Use a program that can build a ...
I am using SOAP message over HTTPS. Our architecture:Client submission server uses TOMCAT 4.1..29, JDK 1.4.2 with JSSEI am using com.sun.net. ssl.HttpsURLConnection object to open url connection with submission server.Submsiion server at the other end has IIS configred to authenticate digital ...
229 byte By
nktowera at 2007-11-26 22:59:36
OK, I've ben provided with a certificate in a .p12 file PKCS12 What do I have to do with keytool to make it usable? I suspect that there are multiple steps, i.e. create a jssecacerts file first, then load the .P12?
3150 byte By
ihtcdinga at 2007-11-26 22:59:48
I am fairly new to JCA and have a question regarding encrypting a file using openSSL and decrypting using java. The openssl command used to generate the base64 encoded output is: openssl enc -a -in tmp -out tmp1 -e -K 30313233343536373839414243444546 -iv 3031323334353637 -nosalt -des-ede3-cbcAs ...
Hi,Could anyone please explain the methoddrawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) The documentation states thatimg - the specified image to be drawndx1 - the x coordinate of the first corner of the destination ...
5169 byte By
Siggefa at 2007-11-26 23:00:34
I want to "move" a graphicsObject on a JPanel and the object is going to represent some kind if tool, like a penn. The "penn" can then draw new graphics on the JPanel.. I have worked on some code but i have some problems: -> When i paint something and the graphics is updated to the ...
1629 byte By
auiagmana at 2007-11-26 23:00:49
Hi All,I am having some code like this to connect to remote HTTPS server. And it works perfect in my machine. However, after I moved my code into our server which is running IBM Websphere, my code doesn't work anymore, and always get SSL handshake error, like ...
Hi.. i have implemented a audio and video chat project implementing SIP protocol.I just have one problem now.Lets consider only audio communication.Now if i am communicating with multiple users, then my voice goes to everyone and everyone else's voice comes to me... how can i select just the ...
3385 byte By
knovaka at 2007-11-26 23:02:38
Hy everyone, I have next java code to send xml file over https. // Create a trust manager that does not validate certificate chainsTrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() { public java.security.cert.X509Certificate[] getAcceptedIssuers() { return null;}public ...
Hi!I have a very big problem! When i try to save a BufferedImage via JAI i lose informations about the Height and Width of the ImageMy code:pb = new ParameterBlock();pb.addSource(bi);pb.add("C:\\Programme\\Scan<br clear="all" />" + name + i+ ...
Hello,I see on the forum the codeimport javax.swing.*;import javax.swing.event.*;import java.io.*;import javax.media.*;import javax.media.format.*;import javax.media.util.*;import javax.media.control.*;import javax.media.protocol.*;import java.util.*;import java.awt.*;import ...
Hi. Ive got somecode to compile but at the moment on run, the code comes up with a "NullPointerException: Canvas3D: null GraphicsConfigurationat javax.media.j3d.Canvas3D.checkForValidGraphicsConfig(Canvas3D.java: 954)at javax.media.j3d.Canvas3d.<init>(Canvas3D.java:997)at ...
1259 byte By
diribufa at 2007-11-26 23:06:07
I'm trying to setup a SecurityManager so I can check if the user running the application has the proper file acesses.System.setSecurityManager( new SecurityManager() );SecurityManager secMgr = System.getSecurityManager();if( secMgr !=null ) {try {secMgr.checkRead("/path/.archive");} ...
Following the Install Docs on http://java.sun.com/products/java-media/jmf/2.1.1/setup-linux.htmli am trying to install the linux performance pack of the JMF.However it exits without any response :(Why could that be?Installed: Sun JDK 1.6.0System: Linux 2.6.20-gentoo-r3 SMP i686EDIT: The ...
hi all,i am trying to display an image on JLabel in Netbeans.The image is visible in the design view but not displayed in the runtime.Can anyone help me out with suggestions?