Can't get JAI to run, NoSuchMethodError

1923 byte By cazza at 2007-9-26 7:24:34
when I try and run runjai.bat I get the following errors, I have added the jai_codec.jar and jai_core.jar to my classpathC:\JBuilder4\jdk1.3\demo\jai>java -classpath ..\lib\jai_core.jar;..\lib\jai_cc.jar;..\lib\mlibwrapper_jai.jar;. JAIDemo ...

Unable to realize com.sun.media.amovie.AMController@2a15cd

484 byte By smcelroy1 at 2007-9-26 7:25:39
Hi,I get the following error message in my jmf.log file. Can anyone help?## JMF Version 2.1.1a### Platform: Windows 2000, x86, 5.0## Java VM: Sun Microsystems Inc., 1.3.0_02## Player created: com.sun.media.content.video.mpeg.Handler@7d68b1##using DataSource: ...

connect applet to database using JDBC

273 byte By Qjavastar at 2007-9-26 7:26:36
I try to connect Applet to database, but have error:Access denied (Java.lang.Runtime.Permission access Class In paclage.sun.jdbc.odbc)I think the reason is the security issue, but how to implement the security issue in the code?Help me...

Grant Permissions Dialog not displaying

552 byte By ckohle at 2007-9-26 7:28:13
We have a signed applet used to launch notepad in NT 4.0 using IE 5.5. On certain machines everything works fine and we get The grant permissions dialog. On a couple of machines, we don't the grant permissions dialogue, the applet does not load and we get no errors in the Java Console. Even ...

Doing it an easy way...? Signed applets...

589 byte By Hephos at 2007-9-26 7:28:21
Ok... So we need to let our applet save/load to the userscomputer locally.How can we do this an _easy_ way? That is.. easy to for the user. Preferable just have to click a couple times to allow the applet to work.They should not need to "manually" add some certificates or stuff which is really ...

Using JAAS for Windows NT Authentication

508 byte By cclin3123 at 2007-9-26 7:28:42
Hi all:I am now seeking a solution that can support NT authentication in web applications. I want users to key in their NT username and password and after authentication, I will keep the status in my java bean.After studing JAAS and checking forum for a while, I am wondering if there is anyone ...

Here is example code for HTTPS Tunneling through proxy(400 Lines of code

23648 byte By nightmask at 2007-9-26 7:28:58
Here is the source for Https Tunneling that I have gotten working. It is based on Pua Yeow Cheong's JavaWorld Tip 111. Thanks to David Lord for providing the final breakthrough that I needed.I have posted it here for anyone who wishes to use it. If you find any bugs, or write any improvements, ...

Here is example code for HTTPS Tunneling through proxy(400 Lines of code)

23738 byte By nightmask at 2007-9-26 7:28:59
Here is the source for Https Tunneling that I have gotten working. It also does Basic Authentication with the proxy if necessary.It is based on Pua Yeow Cheong's JavaWorld Tip 111. Thanks to David Lord for providing the final breakthrough that I needed.I have posted it here for anyone who ...

Java2D = slooooow

946 byte By rherlitz at 2007-9-26 7:29:57
I had great expectations on Java's 1.4 beta 2 in terms of Java2D-speed. In the project I'm working on we need to draw hierachies of shapes on top of each other, but even an easy task as filling a big rectangle takes ages!(compared to regular drawing API's)So what I'm wondering now is if it ...

RMI and SSLSession

684 byte By andreas_johnsson at 2007-9-26 7:30:31
Hi!I am trying to develop an application using JSSE and RMI. I have used the sample RMI examples to establish a secure connection between client and server, using both client and server authentication. Now to the problem. I want the server to be able to get information about what certificates ...

signed applet - NO Grant access dialog

530 byte By Jmanu at 2007-9-26 7:30:54
I've develped a signed applet which works with the java plugin 1.3.1 and a self signed certificate. while developing i followed the description from irene67 in this forum. every thing works perfektly apart from the grant access dialog. after installing my certificate and starting my applet ...

Https Client Authentication

278 byte By punukollus at 2007-9-26 7:31:24
i'm posting the data using HttpsURLConnection to IIS 5.0 web server. The code is working fine for server authentication. Now i want to enable the client authentication option in IIS. How do i send the client certificate from the Java program to the IIS web server

How to make NT Service for Tomcat(for HTTPS)

169 byte By gabriel_kardos at 2007-9-26 7:31:27
Hi all,Could u pls tell me how to make or configured NT service for tomcat for Https or SSL enabled. Pls provide configuration document if possible.

Loading a file with an applet

466 byte By Jon-Mikko at 2007-9-26 7:33:58
Help!I'm creating a 2d game applet, and in the game i need to load a file to read in the map to the game. Now, i have some serious problems getting the applet to load the file in browsers like IE and netscape. In appletviever everything's ok, but in the browsers i get security exceptions. ...

Superimposing images

594 byte By rajeshkrishnan at 2007-9-26 7:35:32
We are working on a game project in java.The game is developed as an applet, to be deployed in an html page.The problem we have is that we need to embed 14 small images inside a big image and all these images have to reside inside the applet.Using normal java2 image techniques, we found it ...

How tp generate Keystores , keys and certificates programatically...

413 byte By RMichael75 at 2007-9-26 7:35:42
Hi i need to manipulated the keys and certificates in a keystore.. Like generating keys, adding it to the keystore and generating certificates and importing certificates.. etc from a java program.. Can anyone pls help me with this .. Is there some pliece of sample code some where can you pls ...

cheepest certificate for signing applets

297 byte By kesako at 2007-9-26 7:35:47
Hello,I just would like to make disappear the message "Java Applet Window" from my frame applets.Is there any free certificate available for that? If not, can somebody point me to the place where I can purchase the cheepest certificate?Thanks for helping.

modem

328 byte By ggopalk at 2007-9-26 7:35:58
hello everybody i have a doudt in modem connection via java programhow we get the properity of the modem through java program. because i want to connect my phone through java program can it possible? if you have any idea or code pls share with me thank you ...

XML Signature

571 byte By nemov at 2007-9-26 7:36:58
Hi,I am looking for a good framework that implements XML Signature algorithms. Could you recommend me a nice one? (and free, of course).I have found some toolkits at Consortium's web: http://www.w3.org/Signature/#CodeI have tested "Canonical XML for Java" but it's getting me mad because of ...

TLS(Transaport Layer Security) algorithm not available...JSSE sample codes

380 byte By shafique_razzaque at 2007-9-26 7:38:37
I am using the sample codes provided with the JSSE1.0.2, but I get the following exception" when TLS algorithm not available". I do not get the error when using Java Forte( UI), but when I use the dos prompt to execute the sample codes, I get the error.Please advice.Thank You,Shafique ...

TLS(Transaport Layer Security) algorithm not available...JSSE sample codes

377 byte By shafique_razzaque at 2007-9-26 7:38:38
I am using the sample codes provided with the JSSE1.0.2, but I get the following exception--" TLS algorithm not available". I do not get the error when using Java Forte( UI), but when I use the dos prompt to execute the sample codes, I get the error.Please advice.Thank You,Shafique ...

Help Please this is an SOS

1031 byte By balki_27 at 2007-9-26 7:39:06
Hai to alli have been working on Cryptography using SymmetricPBE techniqure with "PBEWithMD5AndDES" as the encryption enginewhen i went for upgrading using cryptixi nstalled cryptix and when i ran my previously built program i got an error like this:Exception in thread "main" ...

Jsse error -->java.security.NoSuchAlgorithmException:Algorithm TLS

288 byte By shafique_razzaque at 2007-9-26 7:39:21
I tried using the sample codes given at the JSSE1.0.2 web site, but I am encountering the folowing problem:java.security.NoSuchAlgorithmException: Algorithm TLS not availablePLEASE ADVICE ME.Thanks,Shafique Razzaque,SCPJ2,Singapore.

Implementing SSL in a Web Application

229 byte By vishal_maheshwari at 2007-9-26 7:39:30
Hi EVerybody,Can anyone tell me the exact steps involved in implementing SSL in a Web Application including any changes need to be incorporated in the HTML pages of the application.Thanks.Vishal

Is SHA-1 example shown on this web site better than UNIX crypt()

822 byte By bannister.j at 2007-9-26 7:39:57
Hi,For a project I am working on I have to store passwords in a database. I want to store this passwords encrypted and my first thought was to write/use an emulation of the UNIX() crypt function e.g. UnixCrypt. However I am concerned that UNIX passwords are easy to brute force unless you have a ...

Installation of Java PlugIn 1.3.0

1002 byte By Jmanu at 2007-9-26 7:40:44
because i want to run a self-signed applet without manually installation of the certificate i have to use PlugIn 1.3.0. i use internet explorer 5.5 on windows nt. when i put the link to the PlugIn 1.3.0 the browser couldn't interpret the object tag. i only get the default message (applet ...

Use JMF to play mpg file

313 byte By javanewcomer at 2007-9-26 7:41:21
Hi,thereI use an sample code using JMF to play .mpg files and the code compiles correctly but throws out "Unable to handle format: MPEG, 352x288, FrameRate=25.0, Length=152064" at runtime.Only sound are output but no video picture.Can you tell me why?Thanks first. ...

Port Access

1209 byte By dsubram at 2007-9-26 7:41:50
Is this code any intialisation, Please help In Java How can we control System Sound output. For Example if I am playing a sound clipusing AudioClip API and I want to control its volume and so other clips which are played next uses that volume to play.The code:Line.Info lines[] = ...

drillable bar chart

1170 byte By tier23 at 2007-9-26 7:42:15
Hello Jgurus, I've been thinking for days, I am still lost on how to solve the following:Lets say we have a bar chart object, which is drawn by using java.awt.Graphics.fillRect(int x, int y, int width, int height) with the rightamount of spacing in between rectangles.When the user mouses over ...

Ports

758 byte By JCheckBox at 2007-9-26 7:42:48
Hello,now here comes hopeful a real simple question.I have created a simple Echoserver doing nothing more than writing "connection received from:" + address. The socket this server uses is a plain ServerSocket. Trying to telnet to the port the SS listens on, results in the proper message. Now, ...

Installing java3D on visualAge 3.5

531 byte By dodgy_d at 2007-9-26 7:42:51
Hello.I have been trying to install java3d on VA3.5 without sucess. I have imported all the jars without problems but there are errors in the demo applications.For example: "The field named GENERATE_NORMALS for type named Box is not defined"These errors shouldn't be there as I imported the ...

HELP: Java 2D stand alone (antialiasing)

322 byte By KirovS at 2007-9-26 7:43:09
I badly need java 2D standalone package for use with JDK 1.1 applications. If someone still has a copy of it or knows where can I download it, please contact me at skirov@worldnn.com.Eventually, I'll be gratefull if anyone can point me to some antialiasing algorithms or packages. Thanks ...

TLS vs SSL

357 byte By FelipeGaucho at 2007-9-26 7:43:20
I'm having problems with the SupportedCipherSuites of my TLS client ...when I list the cipherSuites supported by my client:getSupportedCipherSuites=15SSL_DH_anon_WITH_DES_CBC_SHASSL_DH_anon_WITH_3DES_EDE_CBC_SH I got only SSL type of suites... How can I change it to support also TLS protocol ? ...

Could not load mediaLib accelerator wrapper classes. Continuing in pure Jav

186 byte By jamesgc1 at 2007-9-26 7:43:30
Can anyone provide an explanation/solution to the following error message:"Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode."

Security Exception in Netscape 4

278 byte By matt5hansen at 2007-9-26 7:43:41
an applet I have written works fine in IE (all versions as far as I know) and works in Netscape 6 but does not work in Netscape 4.08, 4.74, 4.78, etc... The applet is not signed and I would like to avoid signing it.Any ideas?Thanks.Matt Hansen

Do you know how to doubly encipher a database?

1571 byte By mike2z at 2007-9-26 7:44:36
Not sure if this should be on the beginners or maybe the database board, but here goes...I'm learning to use Java by developing a database application and am considering design choices.The database will be used by several different user connected via JDBC to an existing DBMS (access,paradox, ...

Need a starting point....

922 byte By ShanonMcQuay at 2007-9-26 7:46:28
Hi, I have been dabbling with the 2D API lately and there is one thing I am particularly interested in learning how to do.I want to put a drop shadow under a polygon or any shape for that matter. This is what I have got so far....I first draw a black square on the screen, then I draw a square ...

Flashing when scrolling the image by using ScrollPane

3353 byte By superworm_hk at 2007-9-26 7:47:52
I have written an applet to perform the zoom-in and zoom-out on images. It works well on zoom-in and zoom-out. However, after zoom-in/zoom-out, the flashing occurs during scrolling the image. The source is as following. The scrolling is performed by adding the Canvas into the ScrollPane. Please ...

bad_record_mac error?

810 byte By m_ansram at 2007-9-26 7:49:33
Friends,I am getting the following error with JSSE 1.0.3 when doing a HTTPS with a weblogic server running locally. javax.net.ssl.SSLException: Received fatal alert: bad_record_macat com.sun.net.ssl.internal.ssl.SSLSocketImpl.b([DashoPro-V1.2-120198])at ...

Forcing repaints in J2SE

121 byte By clayteel at 2007-9-26 7:51:30
Is there a way to force immediate repaints on a J2SE Canvas as in the MIDP method Canvas.serviceRepaints()?

Solaris JAAS

793 byte By vinodvish at 2007-9-26 7:52:09
I have downloaded and installed JAAS 1.0. I can run the sample login program by changing the config to load the SolarisLoginModule.I need to use this piece of java code to validate user and password against the OS user and shadow password.How can I do this ?Even if I create a SolarisPrincipal ...

Encryting a JSP file

331 byte By smitaunni at 2007-9-26 7:54:05
I am a bit new to this topic...I want to encode or encrypt a complete JSP file...I want to know Is there any application that I can download to do it....Or should I write a code in java for it..Also please direct me to a website or page which gives me a good idea about this topic....smita ...

JMF Sources

108 byte By javanewcomer at 2007-9-26 7:55:04
Can you tell me any good online resources about JMF and simple examples including source code.

How to sign an applet (and get it to work)

6137 byte By ncoleman1 at 2007-9-26 7:56:54
How To Sign a Java AppletThe purpose of this document is to document the steps required to sign and use an applet using a self-signed cert or CA authorized in the JDK 1.3 plugin.The original 9 steps of this process were posted by user irene67 on suns message forum: ...

Draw figure without stroke?

551 byte By stevechamp at 2007-9-26 7:57:49
I want to draw a shape (rectangle) without any stroke. I tried creating a BasicStroke with zero width, but this did not work. The reason was confirmed in this passage from the docs:"If width is set to 0.0f, the stroke is rendered as the thinnest possible line for the target device and the ...

PC with Soundcard but not installes => Exception

574 byte By 242915 at 2007-9-26 7:59:21
Hi,PC configuration:soundcard but NOT installedProblem:Starting a player to play a sound file results in an exeception. the jmf.log says : "Failed to prefetch the player"Can i catch this error? The normal try.. catch doesnt work.I use a listener to react on controller events, but it has no ...

How JSSE-SSL works ? Generell question..!

596 byte By O66183 at 2007-9-26 8:01:09
Hi all, I admit that this might be a stupid question although Ernie always told me in my childhood that there are no stupid questions at all..!My jsse-ssl-connection works properly although I only use the standard cacerts-file. I connect to a https-server from which I did'nt import its cert ...

Has Anyone tried to use DDE through Applets

566 byte By fquinet at 2007-9-26 8:01:47
I would like to update a client side opened Excel file via the web using DDE ( Windows protocol used to cut and paste between apps ) and an applet.I guess that the level of security of the sand-box will limit the interaction with the excel application unless the applet jar is signed and ...

Image Buttons

1017 byte By MrCooper at 2007-9-26 8:04:54
I'm trying to add gif images as my buttons in my panel does anyone know a good way of doing this given my that part of my source code below. public class ButtonPanel extends Panel {private Button clear; private Button start;private Button stop;private Button picture;private Button turn; /*** ...

Import keytool generated certificate into IIS

510 byte By wellogicdevel at 2007-9-26 8:05:24
Does anyone know how to import keytool generated certificate into IIS? My OS is Windows 2000 Professional. I wanted to make the keypair generated by keytool to be recognized by IIS.IIS has the wizard with three choices:1. Create a new certificate.2. Assign an exisiting certifcate.3. Import a ...