JMF on Linux

761 byte By AryJuniorBRa at 2007-11-27 11:59:21
Hi, I found many topics here about JMF installation on Linux but my problem persists... When I run jmfregistry and click on "Detect Capture Devices" button I get:JavaSound Capture Supported = falsejava.lang.Error: Can't open video card 0java.lang.Error: Can't open video card 1java.lang.Error: ...

SSLProtocolException: no more data allowed ...

1526 byte By Developer_Named_Aarona at 2007-11-27 11:59:04
Hi all, am implementing a SSL client and the server is an embedded system running some proprietary version of SSL. I can connect to the server with openssl, but when using a java application I get the following error:main, handling exception: javax.net.ssl.SSLProtocolException: no more data allowed ...

how to avoid .java.policy file in applet application

1187 byte By Raja_Ma at 2007-11-27 11:58:53
Applet expects .java.policy file in user's home dir for Security and File Permission though applet jars are signed well.The jars are signed as follows:<echo message="Creating KeyStore" /><exec dir="${dest.dir}" executable="keytool"><arg line="-genkey -alias keyname -keystore epskeystore ...

How to store a key ?

818 byte By it-developer.orga at 2007-11-27 11:55:51
Do you know how to store a generated key for future use ? What I'm trying to do is:1. Encrypt the given data in a simple way:KeyGenerator kg = KeyGenerator.getInstance("DES");Key key = kg.generateKey();Cipher cipher = Cipher.getInstance("DES");.... // encrypting goes here2. Store the encrypted ...

Cipher in multihreaded environments

4704 byte By danielgalana at 2007-11-27 11:54:33
Hi,I have short question because I didn't find an anwser yet.Is the Cipher I use to encrypt/decrypt multithreading-safe?I ask this because I want to use it in a web-environment.I have something like this:public class Whatever {// Are these to fields Thread safe?private static Cipher ...

JMF and clinet side Applet problem

639 byte By Amit_Jain@visitindia.coma at 2007-11-27 11:54:03
HI,I need to create an Applets and applications that will transmits and receive media using RTP in [JMF]Java Compatible environment--including Web browsers--without having to worry about client side JMF installation.Will it be possible to deploy a java applet on a client browser without having the ...

Client Authentication in web service ( client side only )

741 byte By Sohaib_ur_Rehman_Khana at 2007-11-27 11:53:54
Hi,How I can tell java to use this particular client certificate in mutual authentication. I have two certificates 1) cacert.pem and 2) client.pem (includes private key), client.pem is signed by cacert.pem and also contains the private key. I have the wsdl file for the webservice that I have to ...

How to draw a line between to buttons

946 byte By embedded_enga at 2007-11-27 11:51:41
hello,in my application i have to draw a line between to buttons if and only if the buttons are active.my output depends on the values given by an sensor board which connect through serial port...everything i working fine but i'm unable to show a line between two buttion which are in JPanel ...

Loading KeyStore acts differently on Mac JDK and Windows JDK

5250 byte By wb138834a at 2007-11-27 11:51:12
Our company has been required to integrate with a 3rd party vendor which requires 'client authentication' to their server using a Digital ID certificate (Class I). After purchasing our Digital ID from Verisign (which is installed in Firefox), we export the certificate to a PKCS12 format (which ...

JMF Applet without client side installation

409 byte By yogeshjoshijia at 2007-11-27 11:51:10
HI,I need to create an Applets and applications that will transmitt and recieve media using RTPin [JMF]Java Compatible environment--including Web browsers--withouthaving to worry about client side JMF installation.Will it be possible to deploy a java applet on a clientbrowser without having the ...

Rotate image

2100 byte By kietfriendsa at 2007-11-27 11:47:39
I have a problem when rotate image. After i rotate, i save the image and the background of image change to black. I occor with some picture as: http://i209.photobucket.com/albums/bb132/bocanguoi/ti01.gif http://i209.photobucket.com/albums/bb132/bocanguoi/db01.gifimport java.awt.*;import ...

JMF video resize goofyness

739 byte By karlmarxxxa at 2007-11-27 11:45:06
Im pulling a camara datasource through a firewire connection as a vfw and creating a processor from that datasource.The Videoformat isVideoFormat("dvsd",new Dimension(720,480),VideoFormat.NOT_SPECIFIED,null,15f)Then I process itVideoDevices vd = new VideoDevices();CaptureDeviceInfo videoCDI = ...

JMF + fobs4jmf extra subproces in my aplication

1335 byte By almarco_esa at 2007-11-27 11:45:02
Hi,I'm developing a multimedia aplication and have the isue, that most programers have. When I closed the player, after stoped it and remove his visula component, etc... The list of subproces don't decrease.In my code after this I start other player whit and other source. And the result is I have ...

Need to do client side encryption/decryption

892 byte By snehaka at 2007-11-27 11:44:52
I am developing a web application in jsp, servlets and database.I have a registrationform.jsp which takes details like name, address etc.On submitting this form, server validates the user entered information and if everything is correct, then sends him an ID(a number in encrypted format). But ...

Game character movement

1381 byte By dfgstga at 2007-11-27 11:44:48
Hi,I've got a system were I have constants for each of the compose points, and using a switch on that direction:For example, if north - speed from y, is east + x, and so on.This seems to work well, but I've always wanted to use degrees for the direction, rather then constants.I've made a little ...

Unique system identifier

363 byte By anonymousfua at 2007-11-27 11:44:25
My company is developing a licensing system that requires the generation of a unique system identifier. This would be used, for example, to restrict an application to run only on a particular machine.We already have a native library that generates these system IDs, but we want to implement a Java ...

Without drawing, why

1571 byte By ardmorea at 2007-11-27 11:43:23
Hello, I want to paint and draw complicated shapes with graphics 2D.However I only obtain painting. Where is drawing?Thanks for any reply.public void drawSides(Graphics2D g2d){g2d.setColor(Color.GRAY);for (int i = 0; i<numberofCells; i++){GeneralPath p = new ...

detecting of edge in an image

325 byte By Kenkena at 2007-11-27 11:42:17
hi all,I've just heard of JAI today, so I hope I've posted my problem into the right place...so:if I have an image containing a line:How can I read it, and get:line 1: (0, 3) (10, 3)namely the line being represented with its start and end points.thanks in ...

Update Image width and height

2619 byte By AnupPatela at 2007-11-27 11:37:49
Hello Friends,I Create One java class for Getting an image from hard drive and Update its width and Height of that Image through AffineTransform and then after save it back to hard drive through BufferedImage.But when i save my image into hard drive it is not display proper manner.That means after ...

How to draw a blinking caret on TextLayout?

75 byte By always_javaa at 2007-11-27 11:37:18
<p>How to draw a blinking caret on TextLayout?</p><p>Thanks in advance.</p>

Failed Core Validation

1272 byte By Frank_Natolia at 2007-11-27 11:36:59
How to diagnose why XMLSignature.validate is returning "failed core validation"?JWSDP 2.0 demos GenDetached and Validate work fine. Modified both to function properly with "file:" input rather than "http:", thus inserted calls to SetBaseURI for the JDK bug work around. Modified versions work fine ...

How to avoid deleted projects being deployed when server starts

666 byte By another_java_guya at 2007-11-27 11:35:41
Hi All,I have created some project in RAD 7 for some testing purpose with WAS 6.1.Now problem is I was not aware of the fact that WAS 6.1 does not work with local workspace and it shares all the workspaces. So after sometime I deleted those workspaces from Windows file system and not by opening ...

CPU usage

772 byte By gearheadgenea at 2007-11-27 11:34:21
On my pc (P4, windows 2K, 384Meg RAM), with JMF 2.1.1e, JDK 1.6, the CPU utilization is pegged at 100% when playing back movies. Interestingly, I can run many simultaneous videos without degradation in any of them (currently running 7 simultaneous). As soon as the video is stopped or paused, the ...

hide the cursor

166 byte By don.juan9a at 2007-11-27 11:34:08
<p>hi all.. i'm developing a drawing application. i need to hide the cursor and change with the shape that is going to be drawn. Any idea how to hide the cursor?</p>

draw line,arrow,oval on the image

76 byte By v.kka at 2007-11-27 11:32:45
<p>draw line,oval and arrow on the image dynamically.</p><p>please help.</p>

Capture Device using JMF

742 byte By yogeshjoshijia at 2007-11-27 11:30:49
when my signed applet/jar is executed on client machine where JMF is not installed. Then i am not able to Capture the Microphone using CaptureDeviceInfo di = null;AudioFormat a = new AudioFormat (AudioFormat.LINEAR,8000, 16, 1);Vector deviceList = CaptureDeviceManager.getDeviceList(a);for(int ...

Adjust .midi volume

150 byte By Program_Javaa at 2007-11-27 11:30:27
<p>I'm playing myMidiFile.midi and the volume is always really high, does anyone know how to adjust the volume of my file</p><p>thanks in advance</p>

Creating Rectangle inside a Frame

1377 byte By ButcherBaya at 2007-11-27 11:28:51
Hello, What I'm trying to do is create a Rectangle that will expand in the frame when it is maximized. This is the code I've made so far.import javax.swing.*;import java.awt.*;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.Rectangle;import java.awt.Frame; public class ...

changing a certian color to another color

24 byte By aaa801a at 2007-11-27 11:28:40
<p>how can i be done</p>

Signing Failure ,help me

1219 byte By ardmorea at 2007-11-27 11:27:32
What is wrong?Do I need create file migsuncert.crt in advance. ThanksC:\Program Files\Java\jdk1.6.0_01\bin>keytool -genkey -keyalg rsa -alias migkeyEnter keystore password:What is your first and last name? [Unknown]: Michel GallantWhat is the name of your organizational unit? [Unknown]: HomeWhat is ...

draw Triangle

168 byte By don.juan9a at 2007-11-27 11:26:24
<p>help....i need cant find any code to draw a triangle in java. i need to let user click and drag on the canvas to draw the triangle. Any help will be appreciated.</p>

Reliable online resources

148 byte By it-developer.orga at 2007-11-27 11:26:19
<p>Hi,</p><p>Do you guys know of good and reliable on-line resources on cryptography in Java 1.6, (apart from java.sun.com) ?</p><p>Thanks a lot</p>

AffineTransform & BufferedImage graphics

876 byte By mk2004a at 2007-11-27 11:25:21
Document document = .. // Document extends BufferedImage bufferedImage = (BufferedImage) document.createImage(document.getWidth(), document.getHeight());Now if I want to draw on bufferedImage Graphics2D graphics2Ddoc = (Graphics2D) document.getGraphics();Graphics2D graphics2D = (Graphics2D) ...

Problem while doing DESede ( triple DES encryption/ Decryption)

4547 byte By buddy_boya at 2007-11-27 11:24:06
I am trying to do triple DES encryption and Decryption as attached in the codeimport javax.crypto.Cipher;import javax.crypto.SecretKey;import javax.crypto.spec.IvParameterSpec;import javax.crypto.spec.SecretKeySpec;public class Sample3 {/** * @param args */public static void main(String[] args) ...

multiple keystore files

240 byte By pietro.maggia at 2007-11-27 11:23:59
<p>Hi,</p><p> I use JSSE to connect to different mail servers throuhg ssl. I need to use a different truststores (say: "store1" and "store2"). Is there some way to statically tell to the java environment to use both files ?</p><p>Pietro</p>

Client Auth failure:SSLException Received fatal alert: bad_certificate

2269 byte By dynamicdhiraja at 2007-11-27 11:23:30
Friends, I have managed to establish a one -way https connection between the client and the tomcat-server by keeping the client-Authentication=false ...

Package com.sun.j3d does not exist (Linux - Fedora Core 6 - jdk 5.0)

753 byte By CoAa at 2007-11-27 11:21:06
Here's the thing.I realize it's probably a classpath issue, but I don't know where to put the libraries. Compiling non-3d code works fine, which leads me to believe that running the j3d installer in the right place ought to put the libraries in the right place and let me use them. Clearly this ...

How to control logined user

325 byte By john_woo_canadaa at 2007-11-27 11:20:07
Hi,Using JAAS login model is fine for my swing app. But now there is a requirement, such that we need to create a web, by which all logined user can be monitored, and even forced to logout.Can any one have idea, so1. how to know who logined?2. how to login user ...

Graphics throwing NullPointerException when running drawImage()

1741 byte By timothyb89_a at 2007-11-27 11:19:20
I've tried a few too many ways to repeatedly draw an image, and I know that using Graphics is better than initializing 500+ JLabels just to draw 1x100 images as a toolbar.This code keeps throwing NullPointerExceptions and I simply can't figure out why. Maybe someone a bit more insightful than ...

null credentials even when tgt exists

1886 byte By cashroba at 2007-11-27 11:16:32
Hi, I'm new to kerberos, jaas and gssapi and I need help. I'm on solaris 10. After kinit, klist shows the following:bash-3.00# klistTicket cache: FILE:/tmp/krb5cc_0Default principal: kerberos-test@RICHMOND.COMValid startingExpiresService principal07/20/07 18:09:16 07/21/07 02:09:16 ...

Sync audio and video on a real-time compression from webcam

1106 byte By javazillaa at 2007-11-27 11:16:13
Hello all, first of all, sorry about my englishWell, im having problems capturing audio and video from a webcam and compressing it to a local file using IV50 and GSM. I already have merged the source and cloned it so I can compress and show for the user what is beign captured at the same time. The ...

how to determine on what segment a point is in

149 byte By hardcodera at 2007-11-27 11:13:35
<p>i have line segments that are connected and assuming that i can get the points of the segments, how do i know on what segment the point is in?</p>

Java Crashes

930 byte By rahulapva at 2007-11-27 11:13:05
Please help me....I am working on ubuntu with jdk1.6u2 and java3d1.5.1. I have created an off-screen canvas which is running on windows fine but crashes on ubuntu.Does my system need any upgradation or i will have to do same with different methods. Following is codeBufferedImage buff_image=new ...

Caching images to disk

884 byte By raf2003a at 2007-11-27 11:12:55
I am writing a web-start application that will be downloading hundreds of JPEG 2000 files over the net. This application will also need to iterate effectively over these images. Clearly it is not possible to cache 300-400 images in memory, rather I store these images on disk (this is a signed app). ...

GSSContext's wrap() and MessageProp: Which enryption is used and available

515 byte By Santacruzshoresa at 2007-11-27 11:12:52
Hi there,I have got a question regarding GSSContext's wrap()/unwrap() methods. These methods take a parameter, class MessageProp,an instance of this class is used to indicate the desired Quality-of-Protection (QOP)The qop is can be set by an integer, but which kind of protection is it indicated by ...

convert int to Color

107 byte By don.juan9a at 2007-11-27 11:11:21
<p>hi...does anyone know how to convert int value (grabbed from getRGB()) into the actual color format?</p>

Does Signature class expect plain text only or message digest?

334 byte By Vikas__sharmaa at 2007-11-27 11:10:58
Theoritically, signing operation includes the following steps1. Create Hash of message called Message Digest.2. Encryption of Hash.My query is: Does Signature class expect plain text (in byte[] ) only? or I need to explicitly create a Message digest first and then pass it to Signature ...

Construction of RSA keys ( very urgent )

412 byte By buddy_boya at 2007-11-27 11:04:23
I have a byte array which contains the public modulus and public exponent (first 2 bytes specifies the length of the public exponent, followed by public exponent, the next two bytes after public exponent specifies the length of public modulus and followed by the public modulus). I have to construct ...

specific the Video format in

263 byte By VishnuAggarwala at 2007-11-27 11:04:00
<p>hi frnds</p><p>how to specific the Video format in JMF in Application and Size of Video Size........example i want YUV format and size is 640 X 480 my webcam is supported this but how could i change the format and size its very urgent........</p><p> Thanks</p>

simple Java 3D Example

147 byte By EricFalbea at 2007-11-27 11:03:21
<p>Where can I find a simple examplecode in Java 3D?</p><p>Like drawing a simple object like a cube.</p><p>One with explanation would be great.</p>