Recent update: 2008-5-9
340 byte By
simaka at 2007-12-7
How do i retreive zcoordinate from the canvas3D. if i am using mouse listeners..then i could retrieve only x and y coordinates. In short..i want to retrieve x,y and z coordinates..from the screen..by using mouse.One more thing i want to know...how to draw an arc in java3D..so that i could place ...
Hi, I'm new-ish to java2D and have a question on improving the performance of my not massively graphics intensive app.Basically at the moment I do all my drawing by subclassing a JPanel, overriding the paintComponent()method and drawing straight to the graphics object passed in. my question is ...
Hi , everyone I had an doubt when I read "Sun PKCS#11 Reference Guide". here is the url: http://java.sun.com/j2se/1.5.0/docs/guide/security/p11guide.html I found these codes: KeyStore.Builder builder = new KeyStore.Builder("PKCS11");the question is I cannot found such a constructor in class ...
Hi all,I am currently developing an application which displays the interior and exterior of a building at my university. However, there is a problem with the amount of memory I am using and am wondering whether there are any techniques to cut dwon the amount of memory required to run the ...
I downloaded the guide, but I can't find Javaoc documentation for JMF, to have a quick reference, does this Javadoc exist
197 byte By
capea at 2007-11-15
i install fobs4jmf.and Fobs_jmstudio.exe worked well with mp4 as well as jmstudio.exe.but when i use some code to player mp4,it can't work.and it can work well with other format.why?
hi allhow can i edit the text within a JTextPane ?please help me
Hi guys,I am sorry if this is an not suppose to be the place to post my question but I can't find any place to ask. I am using ImageJ 1.37, and I am using Jboss 4.0.4 running on CentOS and also using jdk 1.5.0_08.Below is my code:package com.stufftolet.util;import ij.ImagePlus;import ...
HI. I installed new release version of JDK . and reinstall the JMF. but i met the trouble. I started installing jmf and seem all files copied. and a console windows pop up to initialize environment then my computer Rebooted.. lol How did you install JMF in JDK6 ? or this is other problem ? ...
I'm busy designing an app to play audio from a link. The audio is being streamed by a Shoutcast server. The link I have been given is ' http://live.rmr.ru.ac.za'. I've got the following code so far:// Read sampled audio data from the specified URL and play it private void ...
Hi!uname -aLinux 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linuxand whenever i m running my code for start and stop the webcam, i m finding a error/exception as:javax.media.NotRealizedError: Cannot get visual component on an unrealized playerat ...
Hello all,I need help plotting a graph in java in a 2D plane (3D later on... but baby steps). I'm just trying to learn the basics and how to draw lines and form simple shapes (triangle, squares, other polygons) using java. Ultimatley, I'd like the user to enter the number of vetices and the ...
Hi! i am a student and undergoing an on the job training in a public agency here in the philippines and my task is to create an application/system for the agencys' Daily Time Record Using the BarCode' . The agency doesn't have a barcode reader and the request would take too long such that my ...
hi am currently working on a near video on demand system. How can i perform Fast-Forword and Rewind at client side of the system while a server is transmitting video to that particular client?
What is Palette ? How to apply the palette of one image to another image ?
this error appear to me while i am running my datasourcejava.lang.NullPointerExceptionat com.sun.media.PlaybackEngine.doConfigure1(PlaybackEngine.java:224)at com.sun.media.PlaybackEngine.doConfigure(PlaybackEngine.java:193)at ...
Hi to all,I'm developing a videoconferencing app, by using client-server architecture.Today i get the following error message, after i closed my app by pressing <CTRL>+C in the DOS Prompt.Perhaps is a new JMF bug, 'cause i never found any news regarding this particular dll ...
Hello, i am currently working on an applet, included in a webapplication.The insurance agent make a drawing of an accident within this applet and i need to export the result as a file. Does anyone know how ? is this even possible with applets ?hopefully someone can help me ...
238 byte By
Tastea at 2007-9-23
Hey guys!Can anyone give me an insight or example where KeyAgreement class is used to generate Blowfish key.Coz I'm only able to generate secret key using DES and I don't like DES becoz of its flaws.Thanx in advance
hi all,i need to write an application that listen for DTMF tones fromstandard audio input (from the mic) and execute an action depending onthe digit extracted from the DTMF tone. I took a look at JTAPI but i don't have any telephone in this context, i just have to analyze a normal soundsignal ...
Hello,When I donwload code from security providers (such as BouncyCastle), and put the package in the directory of the class that is using the code, it still doesn't work. This occurs because I have to move the appropriate .jar file in directory /jre/lib/ext/ in order for the code to compile ...
I wonder if it is possible get a download progress bar to work on a J3d-applet. I have to do this with a JProgressBar, which is a Swing component. I have heard that it is hard to get Swing to work with Java3d. Is this the case?
How can I record audio to mp3 files in Java?
217 byte By
LRMKa at 2007-9-23
I want to build a capture software using JMF. I there alredy a Screen CaptureDevice developed for JMF which I can use with CaptureDeviceManager? If yes please let me know where to get some info about it.
Hello,Iam new to Java programming and Iam trying to write a program in which I want to paint over an image and have to save that image as a jpeg file and I've searched the forums for examples I got some ideas and with the help of those I tried a program which draws ,and saves the file as a ...
Hi:now i try to build one receiver, but i dont know which port the remote will use to send the stream to receiver... i only know the host ip , so is it possible to do that.? so can start the receiver without specific the remote port.? cause the server will use port randomly to send ...
I have a JFrame and I would like to paint a background image onto it. The problem is that I still need to be able to place other images and Swing components on top of that image. I have succeeded in reading and displaying the image (in what seems to me an overly complex manner); it is the ...
[This is a synthesis of previeus posts, with new test results]I did the following things in sequence:1) Use BouncyCastle's API's to symmetric encrypt with AES and asymmetric with RSA: no problem.(Without the unrestricted security files installed)I used a custom format2) Switched to ...
I have a nightly backup process for of all my critical data, which generates a zip archive. The final step is that I ftp this file to a remote server site. For security, I have been encrypting this zip file before sending over the wire. (If anyone is seriously interested in the precise java ...
HiI just want to encrypt a string..that's all!! but every time i got the same encrypt text.thanks for help. import java.security.InvalidKeyException;import java.security.NoSuchAlgorithmException;import java.security.Provider;import java.security.Security;import ...
i want to draw a rect by using a line like rectangle2d.Double(50,50, -30,30);however java is drawing it like : rectangle2d.Double(50,50,30,30);however i have to draw it other direction(left to right).anybody can tell me how i can do that.
I am developing a certification authority in java. Please help me out. I want to know how a certificate can be generated, the algorithms and some references. I will be very greatful to you if you help me out.Regards
I want to draw 3D line from point X and point Y. I used LineArray but not like 3D so I used cylinder but I don't know how to create a cylinder to link point X and point Y ? And how to move a cylinder from point X and Y to point X1 and Y1 ?thanks!!!
Hi,can i send text file as .txt or .doc on rtp sendstream?how can I do it?thanks so much
I am loading images using JAI. I first load the image into a RenderedOp class and I then get the bounds of that RenderedOp before I put it into the DB. I am monitoring the tile caching using the TCTool. I am able to load large TIFF files (128 MB) no problem. However, when I try to load a ...
Hello! I have to perform next operation: D = DES (x)[y] where x is the left side of 3DES key and y is 8 byte block. How to make DES encryption when I have a 3DES key? DES operation needs 56 byte key and 3DES 112 or 168 byte key. Do I have to first construct a 3DES key, then get first half bytes ...
hi and hoping y'all are having a very good day.im very new to java 3D.i dont quite understand the portion below. private GeometryArray keyFrame0() {int[] counts = {7, 5, 2};LineStripArray geom = new LineStripArray(14,GeometryArray.COORDINATES| GeometryArray.COLOR_3,counts);float[] coordinates ...
Hi, the actual Version 2.1.1c, but except of some bug changes the version (2.1.1) hasn't changed for over one year and on the official homepage you can read this:JMF 2.1.1b Available, 29-Aug-02:JMF 2.1.1b is now available for download. This release fixes a few critical bugs when running with ...
Hi,I need extract RAW data from the received stream to do speech recognization. My idea is to use the Custom DataSink, available at : http://java.sun.com/products/java-media/jmf/2.1.1/solutions/DataSourceReader.htmlI am trying to extract RAW data from readBuffer, but the format is ULAW/rtp, the ...
3225 byte By
raduha at 2007-9-19
Ok, so here's the problem. I try to encrypt a simple text using DES and a password to generate the encryption key. Looks like the passwords have to be 8 characters long (shorter passwords generate an exception and longer passwords are ignored after the 8th character). The key, however, is ...
1436 byte By
Soona at 2007-9-19
HI,I download the example code of PlayerApplet.java from sun programmer guide. I can compile this file. However, when i try to use my browser to open the html page the display the applet, i see the error in java console saying java.lang.NoClassDefFoundError: javax/media/ControllerListenerat ...
223 byte By
joeqa at 2007-9-19
We are designing a new messaging architecture and new to JAX-RPC. We are required to use AES - does anyone know if the current implementation of JAX-RPC allows you to apply AES to the whole and/or part of the stream?
1158 byte By
warn at 2007-9-19
I am developing an application which, among other things, allows real-time video and voice communication using JMF on Linux. There appears to be problems with the capturing of audio and transmitting using RTP with JMF on Linux. The effect of the problem is that audio on the receiver is rendered ...
Hi,I need to load an big amount of black&white JPEG images into my application.JPEGs are always 24Bits/pixel. Can I reduce the amount of memory needed by reducing it to 1 Bit/pixel. For example using an BufferedImage with an IndexColorModel?Thanks for your helpUli ...
261 byte By
ifatb at 2007-9-19
hello,i'm using the function setscale(Vector3d) of Transform3D . and it seems that a previous scaling of the Transform effects the new one,so that the new scaling does not come out right.what can i do?thanksifat
Hello everybody,Is someone able to tell me if it is possible to handle Certificate object while the correponding certificate is stored in a .pfx file.If it is, can you tell me also if the type of the certificate remains "X.509"? Vincent
I use RSA algorithm to encrypt data,I hava added a line such as the following"security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider"to the file java.securitythe program compile ok,but when I run it,it throws a NoSuchProviderException exceptionat ...
724 byte By
bfaros at 2007-9-18
I have an application that takes a String, translates it to a byte[], encrypts it and then converts it to a BASE64 encoded String to be transported over a network. I have a client program that can reverse this process and decode the BASE64 String into a byte[], decrypt it and convert it back to ...
I am using Windows 2000 Pro, Geforce 2 MX/MX 400, and JDK/JRE 1.4.When I try to run the Java3D Fly Through demo, the area where the models are displayed is blank (not black) and I receive the following error (in the console):wglMakeCurrent: Not a valid handle.extentionStr == nullI don't think ...
Hi,I have problem to combine images. I want to combine GIF (transparence) and JPEG (background). How can I do this work?