Detect parallel lines in an image

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

High CPU usage caused by TLS handshake

1094 byte By georgie23a at 2007-11-26 22:35:33
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 ...

Do anyone have code for transmiting live video from webcam?

251 byte By Prakash_Paudela at 2007-11-26 22:35:49
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.

Verifying a .NET generated signature in Java.

1374 byte By gurvindernarulaa at 2007-11-26 22:37:05
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 ...

Transitions

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 ...

I need an encrypt a xml settings file.

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 ...

Runtime error :java.lang.NoClassDefFoundError: com/sun/security/auth/module

2045 byte By SureshKumar.V.Sa at 2007-11-26 22:38:38
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 ...

OBJ Loader

1044 byte By joyce1710a at 2007-11-26 22:40:14
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 ...

Https Certificate Problem

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 ...

asymmetric algorithms

162 byte By avinash_82a at 2007-11-26 22:40:33
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?

x509 certificate format

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 ...

Get the Data from a DataSource

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 ...

Callback hanlder when using cached credentials

1871 byte By alec_gilchrista at 2007-11-26 22:43:39
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 ...

SSL Engine - Ideal Buffer sizes for inbound and outbound buffers ?

687 byte By shannaraa at 2007-11-26 22:43:47
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 ...

Player List problems

5427 byte By Blue_Nighta at 2007-11-26 22:45:03
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 ...

Voice chat for LAN Working :) , but For Internet Voice Chat Not Working

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 ...

How to make a plane semi-transparent

1748 byte By senore100a at 2007-11-26 22:48:06
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 ...

can someone help me to insert a video in a JFrame?

177 byte By saulkyuta at 2007-11-26 22:48:09
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..

problem loading wrl file with sun vrml97 loader

2857 byte By hannibalevivoa at 2007-11-26 22:48:55
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 ...

starting with encryption

444 byte By deepak_anuraga at 2007-11-26 22:49:37
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 ...

Tripple DES Help

756 byte By prince_2007a at 2007-11-26 22:50:17
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) , ...

combining shapes

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 ...

How do yah make something like this?

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

Test sample for encrypted message?

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? urgent help is needed

2507 byte By hanyhosnycsa at 2007-11-26 22:52:05
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 ...

drawPolygon (vs. drawPolyline?)

222 byte By agerard2a at 2007-11-26 22:52:09
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.

New to JSSE _ Basic question on SSL setup

1927 byte By MidnightJavaa at 2007-11-26 22:53:04
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 ...

How to use SSL without certs

2704 byte By MidnightJavaa at 2007-11-26 22:53:16
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 ...

Placing an image in a component

309 byte By MarySandovala at 2007-11-26 22:53:33
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 ...

JTree with double click event

71 byte By deepak_cuceka at 2007-11-26 22:54:47
plz help me to make a JTree with double click event on each node

PlugInManager.addPlugIn yields no result..

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 ...

convert bytes[] to image

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.

Questions on reading in JPEG2000 Images

981 byte By warmonkeya at 2007-11-26 22:55:43
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 ...

JMF books, tutorials...

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

Converting Audio types

142 byte By TheJavaGeniusa at 2007-11-26 22:56:22
Dear allIs there any class library that I can use to convert between Audio types (mp3, wave, ram and others).Best Regards

send xml file over https - urgent

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 ...

SOAP submission issue

6688 byte By Rajaphillya at 2007-11-26 22:58:14
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 ...

PKS12 and keytool - help needed

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?

Encrypt in openssl decrypt in Java

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 ...

please explain drawImage();

1069 byte By born29junea at 2007-11-26 23:00:15
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 ...

Help with moving graphics.

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 ...

Help to make this simple one way ssl client works

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 ...

Voice + Video Chat working.how to personalize it ?

618 byte By ameyaraicha at 2007-11-26 23:01:27
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 ...

Java Secure Socket Extension (JSSE) - HttpsURLConnection class cast exception problem

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 ...

Java Media Framework - Losing Image Information if i save a BufferedImage to TIFF via JAI

880 byte By Deficiencya at 2007-11-26 23:04:43
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+ ...

Java Media Framework - webcam on a web page

9416 byte By mfrederica at 2007-11-26 23:05:11
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 ...

Java 3D - Null Pointer Exception

763 byte By Chaney_Studenta at 2007-11-26 23:05:46
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 ...

Other Security APIs, Tools, and Issues - Help with SecurityManager

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");} ...

Java Media Framework - JMF and Linux Performance Pack

789 byte By pholthaua at 2007-11-26 23:06:34
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 ...

Java Advanced Imaging - Problem in displaying images on JLabel in Netbeans

188 byte By philihopa at 2007-11-26 23:06:45
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?