1189 byte By
mlipreria at 2007-11-27 10:14:41
Hello, my target is to draw a blank jpg image with established width and height.This is my code:public void drawShape(int w, int h){Graphics2D myG2D; BufferedImage bImg = new BufferedImage( w, h, BufferedImage.TYPE_INT_ARGB ); File imgFile = new File("C:\\Documents and ...
Using JMF 2.1.1, I can create multiple players. There's some fishy behavior though. The application has a JFrame, with a JTabbedPane. Within the JTabbedPane, there are a number of JInternalFrame's - each containing a lightweight Player.1. The first created player with always be in the foreground. ...
<p>I have cryptography problem using a certificate generate from csr on entrust site. The certificate's publicKey has a length 2048 bits while the privatekey has length 1024. The crypting is ok, while the result's decrypting is incorrect. why?</p><p>Do you can help me?</p>
hiAllI want to capture a frame by frame sequence from webcam and invert the frame image then display on applet continue and when display on applet i am able to capture image by button and save this image in applet ..............please help me out...........Urgent................... Mail me at ...
80 byte By
YoZza at 2007-11-27 10:16:55
<p>Dear Guys, does anyone know how to draw square wave? Thank you very much.</p>
I'm trying to draw a font on my own offscreen image but I had to implement a few tweaks to get it to work and I would like to know how to do it properly. Here's my code: private int[] getPrintMetrics(Font fnt, String txt) {BufferedImage bi = new BufferedImage(1, 1, ...
313 byte By
liankea at 2007-11-27 10:18:55
Hi all ...When I doing my project using JMF, I used a cloned dataSource(cds) to create a player:Player p = Manager.createRealizedPlayer(cds);but When I put the player in the configure state, it cannot be configured.Does anybody know why? Please ...
i need help on generating points that fall on the perimeter of an ellipse. i know that on a x-y coordinate plane, the equation x^2/a^2 + y^2/b^2 = 1 defines all points that fall on the perimeter of an ellipse. solving for y, i get y = sqrt ( (a^2 - x^2) * b^2/a^2). had the computer graphics ...
Hi all,I'm working in a webbased system in that users can enter a text which will be updated in the database.Currently the users are cutting and pasting the text from different software products (word, excel, word pad, etc.). This process sometimes copies the end of line or other unprintable ...
518 byte By
zada_bha at 2007-11-27 10:20:40
hi all,first, i don't know if this question should be posted in this forum. If not, please let me know.i'm trying to find a solution for this issue. I've searched but couldn't find a clear answer about preventing from XSS in websphere 5.0.another question is if we use the filtering and encoding ...
108 byte By
jilt3da at 2007-11-27 10:22:24
<p>Is there any way to produce resulting image only with contours of original source image?</p><p>Thanx.</p>
1889 byte By
kheusha at 2007-11-27 10:22:37
Hi everyone, I a m actually trying to make a media player using fobs4jmf. I've set both JMF anf FOBS4JMF up. I've also added jar files and placed fobs4jmf.dll in system32 directory then replaced original jmf properties file by the fobs4jmf one. Finally, I've configured JMFRegistry as specified ...
2347 byte By
liankea at 2007-11-27 10:23:07
hi everyone: I have created a player using cloned dataSource, after the player has been realized I try to convert a grabbed frame to bufferedImage. Unfortunately, I got Null value for the image. The codes are follow:public void takeSnapshot(){FrameGrabbingControl fgc = null;snapshotDs = ...
<p>Hi I have to construct the TDES key using the given 16 bytes. Here the third key in EDE is same as first key. Is there any method which takes the 16 byte array and generate the TDES-EDE key.</p>
730 byte By
tedbowa at 2007-11-27 10:23:31
Hi,I am new to Java 2D. I am mainly have done web/database java stuff.I am doing a project for friend who is a Neurologist. It is pretty simple really. I just need a ball to back an forth across the screen and need to be able to set the velocity of the ball to various speeds. It has to be as ...
Friends,I try to connect a secured https web application deployed in Tomcat server . I am using a standalone java application using the org.apache.commons.httpclient. to connect the above web-application . However i get the following error ... Any suggestion in this matter would be highly ...
158 byte By
namliwa at 2007-11-27 10:25:27
<p>hi, i'm trying to capture a image from a webcam, but i don't have a clue of how to do this, could anyone help me with samples or books.</p><p>thanks.</p>
275 byte By
EarnieDa at 2007-11-27 10:25:32
<p>Is there a way via a system property or other mechanism to specify a different HostnameVerifier? I am using a system that I do not have source code to that is failing and I need to allow all host connections.</p><p>Thanks in advance for any and all help!</p><p>Earnie!</p>
<p>Hi,</p><p>I want to create an image animation.</p><p>Any idea how can I create fade in and fade out effect?</p>
I am authenticating users using JAAS/Kerberos against Active Directory.(Java 6 on Windows XP professional).It works fine for all scenarios accept when trying to authenticatea locked account.I purposly locked an account to get the error code returnedso that I can display a "your account is locked" ...
45 byte By
ardmorea at 2007-11-27 10:27:44
<p>I always confuse by them?</p><p>Thanks</p>
128 byte By
v.kka at 2007-11-27 10:28:42
<p>i need to draw line,oval,circle and arrow on the image dynamically.</p><p>any one can please help me.</p><p>it's urgent.</p>
<p>Hi everyone!</p><p>I'm trying to come up with a web based login module for a web based booking and ticketing system. Please anyone who has an idea please help me out. Please include your proposed code. your help will be highly appreciated</p>
453 byte By
SFLa at 2007-11-27 10:29:15
Hi,I have a JPanel where a user clicks with the mouse; I check if there is an object (a JPEG image) at this coordinate and if the line segment connecting the current and last clicked coordinate intersects an object.Let us assume my JPEG image has transparent pixels - if the user clicks at one of ...
Hi ,I am trying to establish an https connection to a Web-application in Tomcat .I have generated a keystore and trustore and have used a standalone Client application to use the above files and establish contact with a remote web-application . I have also added keystore file in the bin folder of ...
853 byte By
ckrulza at 2007-11-27 10:31:46
Can anyone let me know how to read data from a web page that is protected by a certificate. I do have the certificate. So can anyone breakdown the process for me as to how should my program go about this task.I usually get data from password protected websites. And now I have this whole list of ...
Hi there!First off: It's been quite a while since i was messing with java the last time. I usually use rails in my projects. But there are some things you just can't do in rails... *gg* Having said that, here is my mission:I am trying to put together a java-applet, later on to be used in my ...
Modified jwsdp-2.0 sample GenDetached to accept command line argument for URI to be signed, rather than a hardwired URI, see below.Sad to say, the signature.sign(signContext) is triggering an XMLSignatureException / URIReferenceException / NullPointerException. The exception is apparently occurring ...
4058 byte By
Irwina at 2007-11-27 10:33:57
I ve come across what I believe is a bug in the JRE. Posting to this forum to get input from someone else and double check I m not missing something before I submit a bug report.In a nutshell, if I pass a bytebuffer which has a position >0 to the methoddoFinal(clearBuffer, outBuffer);for the output ...
Is there anyone out there that is familiar with SSHExec.FileAttributes? All I want to do is set the mtime file attribute for a file I plan to ftp. The documentation for SSHExec.FileAttirbutes states that mtime requires an int.Ok, easy enough. But I want to pass it a timestamp that will the date as ...
380 byte By
ardmorea at 2007-11-27 10:34:27
we can zoom a 2D graphic object by scale x,y coordinates.For instance, a rectangle will be enlarged to double size by doubling the coordinates,My question is to seek the idea of keeping the object size unchanged but zoom the inside detail?Just like mapquest,click zoom button more details will be ...
Hello Guys,this is my first post. Please forgive me for wrong english, i'm from germany.My problem is, that I have no idea how to create a waveform.Before I read several informations about the java sound api, but that doesn't helped me.Please help me... Thank you a ...
1041 byte By
sun_naa at 2007-11-27 10:36:05
Hi all,I have a requirement for my project where i need to encrypt and decrypt File Systems, Database Tables using 3DES. I tried to encrypt and decrypt using 3DES, but failing to decrypt non-printable characters . '?' is getting replaced in the place of non-printable characters in decrypted file. ...
3169 byte By
ardmorea at 2007-11-27 10:38:32
Hi, please look at my layout management code. I guess something wrong but where is it?I am drawing a 2D on an applet and add some components.So the top level is frame, then applet, then components. right?I have three components: dJSlider, comb and alfa.One 2D drawing. What is the order of layout. ...
I am writing an application that includes a stickman tool. It's for yoga. I posted a few days ago but am learning how things work here a lot =)I need to work out how to draw an ellipse that just touches the end of a line. My line is moving as the user drags it and the ellipse needs to re-orientate ...
Hi all,I have configured SSL on tomcat 4.1 using keytool -genkey -alias tomcat -keyalg RSAThe security file is created. when accessing the site it says that there is a problem with the certificate. The following is the error:The name on the security certificate is invalid or does not match the name ...
295 byte By
.@_a at 2007-11-27 10:39:53
<p>Is there any tool which displays the whole contents of digital certificate which can be called from a java program. The input to the program will be an X509Certificate object. I am working only on Windows OS. So even if the utility is a exe file even then its not a problem.</p><p>Thanks.</p>
102 byte By
punkersa at 2007-11-27 10:39:58
<p>Hi!</p><p>... how i can do Swing Aplication whith JMF Player.</p><p>... need example!!</p><p>:)</p>
Hi all,I have a problem to make a pattern string matching animation. It call "Brute Force Animation", "Knuth-Morris-Pratt", and Boyer-Moore Algorithm". The idea is to drawing animation which is sufficient for all string matching animation. I do The process in Brute Force Algorithm is to compare ...
4474 byte By
Bozaa at 2007-11-27 10:41:15
First of all, thanks for reading.INTRODUCTIONWe are implementing a Document Signing applet and got some serious problems when reloading the applet with the following structure:1 Applet loads, and if no card is inserted, it shows a warning message and waits.2 Applet download a document to be ...
775 byte By
sameba at 2007-11-27 10:43:54
Hi Everyone,There is a new (as of July 10th) alert at: http://sunsolve.sun.com/search/document.do?assetkey=1-26-102997-1 , titled, "Java Secure Socket Extension Does Not Correctly Process SSL/TLS Handshake Requests Resulting in a Denial of Service (DoS) Condition".Does this problem effect sockets ...
925 byte By
AlMehdia at 2007-11-27 10:44:31
I have a program which requires a user to login. The username and password are stored in a Postgre database, with the password in clear text. In other words, when a user logs into the program the user/pass is checked against the database before continuing. I want to make a change to the code, such ...
596 byte By
TK009a at 2007-11-27 10:45:26
Hi,I have a browser client that talks to a servlet using mutual authenication over SSL/HTTPS. This I believe secures the application against man in the middle type of attacks but am I right in assuming that this traffic could be intercepted by a local http proxy on the client machine - possibly ...
<p>I don't get why it's ok to call javax.media.Manager.createPlayer(), for example, and not have to create a new instance of it.</p>
1258 byte By
jbbnza at 2007-11-27 10:46:26
Hi all,I'll try to explain this as best as I can. I need to design an encryption application which deals with the following:1. Encryption to be done using a public key at the front end of the application.2. Decryption to be done using a private key at the back end of the application, but:3. The ...
421 byte By
Christia at 2007-11-27 10:46:49
THe project I am working on has an option to save the drawing on canvas in form of an JPEG, PNG or GIF formats. The code i have donw is working fine but the same code does not work on Linux-ubuntu. If I try to save the image in any of these formats, the image get saved but with no color except ...
16720 byte By
droida38a at 2007-11-27 10:49:03
Some users have reported that my client software is printing dimmed from certain PC's. I've spend a long time trying to figure out what's happening, and at some point I tried printing the image to a colorprinter - it turned out that what should have been gray is purple - thus the dimmed output ...
2754 byte By
x4444a at 2007-11-27 10:49:31
If I ask for Certificates[] method JarEntity.getCertificates() returns null.How to get JarEntity certificates?JarInputStream jar = null;try {jar = new JarInputStream(new FileInputStream("e:/out/p1.jar"));JarEntry je = null;while ((je = jar.getNextJarEntry()) != null) ...
In my application I need to keep track of the user's position in the 3D world. It only needs to be updated when the user moves (using the keyboard).I've tried using the KeyNavigator and KeyNavigatorBehaviour classes and I've got them to work. However, if the user is moving through the world and ...
7156 byte By
ardmorea at 2007-11-27 10:50:17
Please give me a hint.Thaksimport java.io.*;import java.awt.Font;import java.awt.Color;import java.awt.Graphics;import java.awt.geom.*;import java.awt.*;import java.awt.BorderLayout;import javax.swing.*;import java.util.Hashtable;import java.awt.event.*;import javax.swing.event.*;import ...