Hello every body. I'm new in java image feature and I need help.I have a slides presenter for jpeg images, with a frame and canvas inside of it. In the frame a have my controls to move between each slide and is working fine. The point is some body is making html pages and I have to add and ...
I cannot get through this exception while runningsessionManager.initSession(localAddress,new SourceDescription[] { },0.05,0.25);I get this debug output:Initalizing session (localAddress)DataAddress: 10.8.0.6/10.8.0.6ControlAddress: 10.8.0.6/10.8.0.6DataPort: 2838ControlPort: 283910.8.0.6 is on ...
531 byte By
sebp78a at 2007-11-26 21:24:32
Since some days I try to get JMF running to capture still images from a camcorder. The JMF registry detects the capture card (Pinnacle Studio MovieBoard Plus 700) but doesn't add it to the list of capture devices. If I don't get JMF running what alternatives do I have? I thought about taking ...
Communication with a secure https page from a java application I am doing like below and want to know if it is secure,i.e. is the information in the string content being transmitted securely in printout.writeBytes(content) ? HttpsURLConnection urlConn; URL url= "https://somewebpage"; String ...
I am very new to JMF so maybe this is a stupid question but I cannot make incoming RTP audio stream be played. I get this on player.start():Unable to handle format: ULAW/rtp, 8000.0 Hz, 8-bit, MonoFailed to prefetch: com.sun.media.PlaybackEngine@82254dError: Unable to prefetch ...
Hi friends in our project we need to record a video from webcam .I came to know about JMF .I configured it properly and wrote simple code to access to webcam following manual of JMF.I tried my best to modify that code to record a video and save it to file.But i could not.I tried artical and ...
664 byte By
apa7a at 2007-11-26 21:29:33
I currently have a screen with a textfield where the user enters an amount then clicks a next button to proceed to the next screen. I added logic so if the amount entered by the user is greater than the amount billed on the screen I am displaying al jlabel to inform the user. My problem is that ...
376 byte By
mrp1a at 2007-11-26 21:29:39
Hi,We are using SHA1withRSA for verifying signature.For some reason verify always returns false in JDK 1.5.However, the very same class successfully validates the signature in JDK 1.4.Character encoding is same in both JDK 1.5 and JDK 1.4Any idea why it is failing in JDK 1.5?Any pointers is ...
Hi,I know this might be a cake walk for most of u.. but been having quite some trouble here.How do I decode a base64 encoded image, which is of String format and display it on the jsp screen ?I can send also acrosss the base 64 encoded image to some one through email.PLs some one help me out. ...
Hi All,I am using HttpClient 3.0 and Tomcat web server.I am implementing certificate-based client authentication over SSL.For this I have created a client certificate 揷lient2.p12?by using OpenSSL tool.When I am loading this certificate by keystore.load (inputstream, password) it works fine.But ...
331 byte By
Pedpanoa at 2007-11-26 21:37:42
Hello,Java has full support for HTTPS over SSL/TLS. So I was wondering if it solve all problems of internet communications, what do you guys think about it? And what is the advantage to use HTTPS over SSL/TLS instead implement a algorithm to encrypt my data and transmit it trougth the ...
565 byte By
arivea at 2007-11-26 21:39:06
Hi!I have an application that create signatures with versions 1.4.2 and 1.5.0. But when I use Java 6 to verify those signatures, the verification always fails. A signature generated with Java 6 will verify with Java 6, but on 1.4.2 and 1.5.0 verify fails. I run the exact same code to create ...
911 byte By
despinaa at 2007-11-26 21:39:29
Hi, I'm quite new at dealing with keys in web applications, so please dont laugh or criticise my questions :/I read all about Authenticating the user and the server using Certificates and Digital Signatures. But my question is:where do USER'S (client) keys are stored and how are they ...
how can i approach this problem? can anyone post a code?
1423 byte By
stlowa at 2007-11-26 21:41:00
Hi,I done the initial steps to create a certificate. Sent it to CA to authorized it and got it sent back. Anyway, when i tried to import the *.crt file i received into the *.jks file, i received the below error.java.io.EOFExceptionat java.io.DataInputStream.readFully(Unknown Source)at ...
hello,iam new to speech processing in java.now iam having the source to run the speech.but it is asking for speech and synthesis package.can u tell me u how to get these packages.
I m trying to bring video control into a framework .. The native classes for ui build of that framework is different from pure Java AWT or Swing.. the framework as such doesnt support AWT or Swing.. Yet it runs on JRE and it has its own UI module.. But the getVisualComponent() method of player ...
1135 byte By
Ree86a at 2007-11-26 21:43:27
Hello,I have created Canvas over JScrollPane. How to make the ScrollBar scroll down when the mouse is dragged(anywhere) on the Canvas?This is some parts of my code.public class Try extends JFrame{JPanel all = new JPanel(new BorderLayout());JPanel main = new JPanel(new ...
1730 byte By
Spaniana at 2007-11-26 21:43:40
hi,How to restrict the users to open files other than the given types of files. I have written the code for that as following:private void AddmediaActionPerformed(java.awt.event.ActionEvent evt) {JFileChooser chooser = new JFileChooser();FileNameExtensionFilter filter = new ...
5688 byte By
Ree86a at 2007-11-26 21:44:23
Hi,I have created a canvas which appear transparent in front of the JScrollPane.How to make the ScrollBar in JScrollPane scrolling down while the mouse is drag on the canvas? Here is my code:import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.awt.image.*;import ...
hi friends, I got a problem to find out the unknown point in a polygon with 5 points. when 2 points let A(a,b) and B(p,q) and distance r1 from A to unknown point E(X1, Y1), and distance r2 from B to E are given I have to find point E.I try to solve this by considering as 2 circles, 1st circle ...
843 byte By
Javahlpa at 2007-11-26 21:45:04
I posted the subject in new to java forum but didn't find any solution after more than 15 daysI used different developed packages e.g. sinotar, ostermiller, sun.misc.* but don't know where I am making mistake. Please see my sun.misc.* and get me your expert opinionString ...
485 byte By
boci13a at 2007-11-26 21:45:21
Hi!How can I forward Raw RTP Stream from ip:port to anotherip:anotherport with the smallest resource?I want to write a VOIP forwarder application.a <-> server <->b The server not parse or transcode the stream only forward but if I do with DatagramSocket it's required 4 thread to ...
I am trying to mess around with2DGraphics and affinetramsform to zoom into a section of an image but i have no luck doing it. Can someone help me out? Lets say I want to zoom into the coordinates (200,300) and (400,600) . I know DrawImage has a method that does this but does 2DGraphics have it ...
16775 byte By
alvandipa at 2007-11-26 21:46:42
Hi,I get this error when i try to enable the security in WAS 5.0.I have LTPA as the authentication. I really dont know anything regarding the security or how to enable it. Please help.[15/03/07 17:58:34:490 GMT] 659c2c64 LTPAServerObj E SECJ0369E: Authentication failed when using LTPA. The ...
I know nothing about encryption or how it works.I found this code online and would like to make one minor change.Is it possible to use the same code but without a Salt?All I editted (and the problem) is in the public DesEncrypter(String passPhrase){} method.When I edit the code I get the ...
Hi All,First please forgive me if this question has been asked allots of times(I did try to search but apparently my skills are not good enough to get me a good answer).This is what I am trying to do.Create an application, that will create apublic/private key combination.I will save th eprivate ...
Knowing nothing about encryption I humbly ask, what is valid input for encryption? The code I have seen on the internetand am now using successfully encrypts Strings. Strings are made of chars that take values from 0 - 65,535.Can input use all these values?
5066 byte By
Spaniana at 2007-11-26 21:52:12
hi,I got stuck once again..I want to get the duration of any format of song I am playing.. I am using a jtable to list the songs that will be played. The four columns of the jTable are1. TitleTitle of the song2. AlbumDirectory that the song exist3. Length - the duration of the song (Does not ...
Hey,I am working on a single sign-on solution for smart clients (written in Java). Kerberos authentication with JAAS works fine, but what is the Java GSS API for? That - according to some Tutorials like "Single Sign-on Using Kerberos in Java" - is supposed to be executed in the Subject's doAs ...
Hi,I need to sign a text with a certificate stored in Firefox keystore using an applet (online signature). Has someone achieved this before?Thanks in advance.
1974 byte By
helloboya at 2007-11-26 21:55:08
hello there;I have created a program that can play a video file, but however i would like to extend it to play a list of video files consecutively ( in a loop).please help me on that thanks in advanceHere is the code:import java.awt.*;import java.awt.event.*;import javax.media.*;import ...
173 byte By
duldula at 2007-11-26 21:55:15
hi all! can any one tell how i watch my folder using javathere can be any activity in my folder.for example creation/deletion of folder in my folder etc
441 byte By
ennaira at 2007-11-26 21:56:17
Hi folks, I need to send sound files over a network. The files I'm wanting to send are wav files. I kinda have the mechanism that sends a file, but I am not sure how to convert wav files into something that I can easily send. Do I need to convert them into bytes, serialize them...etc I don't ...
Where can I found source code and documentation forcom.sun.media.util.JMFI18N;com.sun.media.rtp.RTPSessionMgr;Thank you.Hern醤.
4765 byte By
rahulapva at 2007-11-26 21:58:50
I want to pick infomation from canvas3d for this i have 3 shape simultaneously one is for outline shape which is from line array,one is for outline shape which is from line array, one is for wire shapewhich is for quard array, and last is for color shape which which is also from quard array ...
113 byte By
Spaniana at 2007-11-26 21:59:07
hi,Can anyone help me out to make a Jslider work similar to a seek bar that will be in media player
I could see IBM JCE has FIPS compliant. Can we have samething for SUN. I would appreciate if I get the ans as early as possible.We are in process of ceritifying fips compliant.Thanks in advance!Regards,Tamil.
during the ssl socket creation if we dont specifiy any particular cipher to use then on what bases does it select a cipher. is It always SSL_RSA_WITH_RC4_128_MD5 ?
Hello, I have this problem.When I downloaded JMF for linux I have a problem that I could partially fix reading the following thread http://forum.java.sun.com/thread.jspa?threadID=733794&messageID=4226173Now the problem is after that, appears a message ...
I am Developing a project on Steganography using 24bit BMP images as cover objects.I am using a 24bit BMPimage .I have written the following code to grab pixels from the image.But it is returning an array of -1's ,where as i should get the pixel values.please help me in solving the ...
I have recently made a game which plays a background sound. It has been working fine until recently the background sound doesn't play anymore but the shot sound works. On my other computer the background sound works. There are no runtime errors too. What could be wrong?
297 byte By
viv_ca at 2007-11-26 22:02:09
Hello ,I want help about java program,which can draw curve passing through given point ,eg. (in Cartesian Cordi.) X ,Y = (1,3) ,(2,5) ,(4,7) ,(5.2,8) ,(4.5,7.3), .......andif other such curve is there then obtain intersection points betwwen
387 byte By
mapb07a at 2007-11-26 22:02:59
Hello.. i am working on a project that needs to identify the frequencies of the sounds in a wav file.. I will sing and record my voice and then identify the frequencies so i can compare it to another wav file and compare these frequencies. I need to detect if the 2nd wav file is still in tune ...
Hi, everyone:i have made a program which need to load several images into memory in the same time. i want to know which will be faster: 1. use a loop to read them directly from files according to the filepaths (use the ImageIO.read meathod)2. pre-store them in a db, and then read them from the ...
I use a public key for encrypting a random secret while transfering it to the other side. I'd like to make the random key as long as possible. There's an limit, e.g.,javax.crypto.IllegalBlockSizeException: Data must not be longer than 53 bytesfor 512 bits public key, but is there an easy way ...
Apologies if I've overlooked this in the docs or in previous discussions (I searched for things like 'BufferedImageOp threadsafe' and got no results).Are the BufferedImageOp methods, in particular the 'filter' method, safe to be called concurrently on a given instance from multiple ...
4705 byte By
java80a at 2007-11-26 22:03:54
Hi Friends,I want to play video's in a jsp page like youtube,so I wrote an applet that uses Java Media Player,and everything works fine on my local machine under Tomcat.But when I try to access it from outside network, I get this exception:Could not find ...
3463 byte By
aybhavea at 2007-11-26 22:04:07
Hi all,I am trying to encrypt an arbitrary file and then decrypt it again. My program does not seem to be working. I would be very grateful if someone could please point out the error. The variable names in the program are self explanatory of what Im trying to ...
Now I know a method to get the length of a audio file by play it:1 Create a Player, and add a ControllerListener2.Start the Player3.In the ControllerListener's controllerUpdate method, use getMediaTime() by receiving a EndOfMediaEventHowever I think this method is not convenience, if I don't ...