Hello, I'm a computer science student, and i have to write a small program , that draws a sun, rotating around it self, a planet rotating around the sun, and a moon rotating around the planet.I know I have to use the setRotate, and translate methods in the AffineTransform class, but I can't ...
3372 byte By
joberoni at 2007-9-26 12:37:21
Hi,Ive been trying to get a signed applet to work with no success. I need to be able to read files on the user's machine. I need a way to read a single file on the user system without prompting the user of any security issues. Of course it runs with the applet viewer but that doesn't help me, ...
607 byte By
rgunder3 at 2007-9-26 12:37:28
HiCan anyone tell me why JCE & Tomcat dislike each other so much? There seem to be loads of other people with the same problem, with me being the latest addition to the list.I really have two questions:1) Why does JCE work like a dream in standalone applications (with a 'main' method) but ...
777 byte By
krf1111 at 2007-9-26 12:38:20
Has anyone been able to, or know how to extend the JMF to provide support for a new Video Format. For instance in some of the lower level code there are constants for some video formats that support has not been written for yet. It actually says in comments "TODO: the rest of the formats". I ...
260 byte By
rjay1976 at 2007-9-26 12:40:37
Hi All, I have an applet, i am able to load a JPEG/GIF image into an applet but if i try to load a EPS image it is not loading. Can any one suggest me how to do this or if possible pls paste me some line of code to do this.Jayendran
195 byte By
raghuvn at 2007-9-26 12:41:56
How to build in a security feature to java classes where in it should not be able to generate the java code through reverse engineering. Please let me know if any one has an answer
59 byte By
hommer at 2007-9-26 12:42:50
What encryption algorithims does JCE support?
I am drawing into a JComponent with the Java2D calls.This JComponent is placed in a JSrollPane. As thedrawing *** the JComponent grows, I do not get myscroll bars.Am i missing something?Thanks,Gary
783 byte By
LoriB at 2007-9-26 12:43:10
I think this is more of a code question than anything, but we are having a very strange problem with our SSL. We are using SSL between an applet and a servlet. The non-SSL code works perfectly if we run it through http in Netscape (4.77) and IE 5.0. Our SSL code works perfectly when run through ...
686 byte By
xantian at 2007-9-26 12:45:04
Hi, i am just getting started on developing a java 3d application, and i was wondering if anyone knows whether GraphicsContext3D works similar as swing Graphics2d, and can i use GraphicsContext3D to draw swing objects?for example:public void paint(Graphics g) {Graphics2D g2D = ...
551 byte By
RroperR at 2007-9-26 12:45:19
Greetings, I just installed the Java 3D SDK. I am running Windows XP pro with JBuilder 5 personal and JDK 1.3.1 installed. J3D setup only recognizes the JB SDK, not the normal one. After J3D is installed I cannot import any J3D packets. JB doesn't find them. I already tried to add the library ...
How to call a class that extends a frame from a panel ?I am trying to create an application say "Videoshow"Videoshow has a panel which in turn consists of 2 components : 1]a textarea( to show the contents of a page) and 2] a mediaclip(to show the video).Now I have an application ...
1690 byte By
ingridB at 2007-9-26 12:47:16
Hi thereI want to use the RSA algorithm from Cryptix with keys that I get from my Keystore. If I generate Cryptix keys in my code it is ok to use them to encrypt/decrypt but I cannot store them in my Keystore since I need to specify a certificate for the keypair. Is there any way of creating a ...
Hi all,I have installed JSSE 1.0.2 in JDK 1.3.1 successfully.. Everything is working fine. However what I need to do is use JSSE under Visual Age 3.5... (my VA is iv3-4 jdk 1.2.2 (patched.))I am importing three jar files which comes with JSSE but same test programs which works fine with JDK is ...
Hi,I am writing a Java HTTP Proxy(supporting HTTPS) chained to an external Proxy I have followed the procedure for tunneling as per the JSSE Distribution example. However, the CONNECT request is dynamically got from the browser and even the handshake is successfully done. The issue is when I ...
208 byte By
hillxy at 2007-9-26 12:51:34
With sample codes is better. Do I need other special SDK package to develop java3D if I have Java2 standard SDK. I want to play 3Danimation.Thankshillxy
342 byte By
kyraz at 2007-9-26 12:51:59
Ok... a lil help please :into what component can i put text and images _at the same time_as in...example, what component could contain data like this :Hello this is me <imageofmyself> and this is my house <imageofmyhouse>... bye all !thanks in advance,Jonathan, a.k.a. Kyraz ...
840 byte By
markushe at 2007-9-26 12:52:30
Hi, I have read some posts concerning this subject, but none of them helped me.I need some samplecode for the following:I use SimpleUniverse. I want to position a plane so that it appears exactly at a certain pixellocation (left upper corner) with an exact width and height in pixel.I tried a ...
Dear all,I am new to Java and encountered the following problem.I downloaded the Merge.java file from the Sun site. As I understand it, this program takes in two or more URLs that refer to video files and merges the videos into one and writes the output to a file. The user can specify the video ...
664 byte By
markushe at 2007-9-26 12:53:27
is there a way to manually update the canvas3d, so that it renders the scene?For some reason my canvas3d sometimes "forgets" to render after a change in the scene. For example: my program changes some geometry depending on the size of the window, so I implement ComponentListener and react on ...
how can i sign java plug in 1.3.1 applet ?
911 byte By
hrodgair at 2007-9-26 12:56:38
I know this is not the first time somebody asks this question in this forum, but the solutions given so far didn't work for me.I've tried to install both openGL and DirectX API's and none of them will install. When I hit the auto-installer, a status bar appears, but when it gets to the end ...
996 byte By
spiffed at 2007-9-26 12:57:05
Trying to request aKeyStore to get a private key which is already there but I'm getting an exception when I try to run.This special part of the code looks like this:KeyStore ks = KeyStore.getInstance("JKS, SUN");The exception I'm getting looks like this:"java.security.KeyStoreException: JKS, ...
1021 byte By
andyrw at 2007-9-26 12:57:13
I need to have a java.awt.Stroke that has a line width (and preferably using BasicStroke, a dash array) which is independant of the current scale of the Graphics2D object i'm drawing to.I.e. a scaling of 1000 in x and a stroke of width 2 drawn as 2 pixels on the screen. If i change the scale ...
Hi, This is the most Commomly occuring exception, if your are installing JSSE 1.0.2 for the first time and try to the run the sun "Hello World !" example.The main reason for this error in the HelloWorld example is because in the file "RMISSLClientSocketFactory.java" there should be a ...
I would like to know how we could control Volume using custom GUI. e.g. using a Slider or something...
I would like to know how we could control Volume using custom GUI. e.g. using a Slider or something...
I would like to know how we can grab audio output details so that we could Create a Visualization (for example).
648 byte By
wmitschk at 2007-9-26 12:59:15
Hi,I saw the door example in the Java 3D Tutorial. If you want to open the door, it is rotating around the y-axis which is centered in the cube's body. I am trying to make it look a bit more realistic. I put a box instead of a cube and I am now trying to rotating thing because the rotating ...
142 byte By
amitme1 at 2007-9-26 13:01:03
How can I create a MD5 hash with java 1.1.8 ?The MessageDigest API to create a MD5 hashworks only Java 2 onwards ?
108 byte By
itsikf at 2007-9-26 13:05:32
How cam I create an applet that can read from a local drive the applet would be on the server?
2050 byte By
jjsimas at 2007-9-26 13:06:15
Here is some of my code for breaking text at the width "mockWrapping" and storing the resultant width and height of all the text breaks in the variables, "greatestAdvance" and "lineBreaksMeasurement", respectively.For some reason, the text is really wider than the value in "greatestAdvance" ...
391 byte By
XAPHS at 2007-9-26 13:07:47
Hello,Does anyone know how you can change the PageFormat from the PrintDialog? I'm builiding an application that runs under WinNT and PrintDialog gives an option to customize page but I don't understand how to get the format from it.Thanks in advance,Charalampos AnargyrouPS. If you know the ...
I'm writing an application which must plot a 3D curve. It has 3 panels, each of which has a 2D projection of the curve (xy, xz, yz). Moving the points on the panels will change the properties of the underlying 3D curve.When I start the application, The 3D curve is shown correctly, but when I ...
430 byte By
ma at 2007-9-26 13:09:05
I need to generate images on a Solaris box without an X11 server.As far as I know, my options are:- PJA- xvfb - JDK1.4 in headless modeI have tested PJA and it is very slow. Has anyone tested server side image generation using xvfb or JDK1.4 inheadless mode? Which is the fastest? How do they ...
919 byte By
ezavalla at 2007-9-26 13:11:54
Hi, Forum!I've developed a custom Secure FTP Server over SSL. Due to performance and resources concerns, I'm using the Thread Pooling Pattern in order to proccess incoming conections.The problem with this approach is that the JSSE implementation doesn't impose a time limit for the SSL ...
321 byte By
virgus at 2007-9-26 13:12:28
Hi all,i have the following problem: I want to synchronize thedatasources from 2 processors: one from webcam, the other from the microphone.I0ve tried with Player.addController() but I get the exception: IncompatibleTimeBaseException.How can I do this ?Thanks in advance ! ...
In my application, I am creating an IndexedLineArray which represents a cubic 3d curve. However, when the curve is drawn, as well as showing the 3d curve correctly, a straight line is drawn from the first point to the last. Any ideas why? Should this happen? If so, is there any way to stop ...
952 byte By
Digi19 at 2007-9-26 13:13:48
I have programmed GUI's before and have never had this problem yet. I am still new to Java and absolutely cannot figure this out. Here is the code:import java.awt.*;import javax.swing.*;public class GradeQuick extends JApplet {private Image Smile;public void init() {Smile = getImage( ...
hai all,I saw one example in jmf website "LiveStream", in which we can play the video with RGP format(custom data). They will create the video data in RGP format and we can create the test pattern. have any body tried that, if you are able to do that, kindky let me know that.Thanking you ...
327 byte By
jeca at 2007-9-26 13:15:09
Hi. As I understand it I can use an Applet to connect to the Server (from where the applots is loaded). I need to connect to a Database, can I do it? And how?If not, is it possible for the Applet to connect to an Application on the server. And the Application handles the Database ...
196 byte By
Appollo at 2007-9-26 13:17:33
I cant find any resources to the relation between the two ... is it too early to look for it (since 1.4 has not been released yet) ? Any suggestions would be appreciated
607 byte By
gshifrin at 2007-9-26 13:18:11
I'm puzzling about why I see different hex dumps for the same data encrypted via RSA with the same public key? Does this indicate something wrong? I generate a public/private key pair and save the keys. For testing, I encrypt some data with the public key and print it out in hex. I then ...
703 byte By
MattHart at 2007-9-26 13:18:18
I've searched the messages and tried just about everything posted to get a local IP Address, but I still get 127.0.0.1.I have an applet running under 1.1 in IE 5.5. I signed it using jarsigner, but I still can't get the IP address.String aLocalIP = ...
I'm writing an application which must plot a 3D curve. It has 3 panels, each of which has a 2D projection of the curve (xy, xz, yz). Moving the points on the panels will change the properties of the underlying 3D curve.When I start the application, The 3D curve is shown correctly, but when I ...
239 byte By
andyvtec at 2007-9-26 13:19:02
I've seen those post giving instruction on how to make signed applet works in IE with java plug in. What will be different if I don't want to use java plug in.. but using the VM provided by Microsoft in the IE..?Andy
Is it possible to log into my webmail automatically and fetch mail? Our mail server is SSL encrypted.Thanks.Giri
How can I use a Font with underline. I tried using deriveFont(Map attributes), with the key value pairs from TextAttribute. But this did not work. I have two cases where I need to underline the text, one in a JLabel, and another where I am using Graphics2D.drawString(..).
85 byte By
manucf at 2007-9-26 13:22:39
Is it possible to encrypt information sent and retrieved by JSP?. How?.
1289 byte By
JarmanG at 2007-9-26 13:23:15
Hi,I realise that some of these questions may seem very basic but could someone please humour me and answer them in any case.1. If I have a signed jar file, then as long as the certificate is recognised as trusted that applet can run as a fully trusted application on the client machine. So I ...