Member Avatar

well it actually works but the circle kind of slides instead of staying put.Help with the algorithm would be welcomed.(actually i need help:sad: ) ---------------------------------- import java.awt.*; import java.awt.event.*; public class hata{ public static void main(String args[]){ Pencere pen=new Pencere(); pen.setVisible(true); } } class Pencere extends Frame { int xcoor,ycoor,width,height, solx,soly; Checkbox cb_merkez,cb_sol; CheckboxGroup cbg_baslangic; boolean merkez_mi; public Pencere(){ setTitle("

+0 forum 0
Member Avatar

Hi, I am new to this forum..I need to know 1. if theres a DLL equivalent to xerces.jar 2. equivalent C# class to the CharToByteCoverter.java in sun.io package Thanx Sam

+0 forum 0
Member Avatar

okay, here's the deal. I'm still quite fresh to programming. My task is to create a program, that can draw any number of balls, and then make them bounce across the canvas. The part of the task I am stuck on is converting convert a method that draws two balls to a canvass and makes them bounce, into a method that draws an number of balls and makes them bounce. My problem, is that I can get any specified number of balls drawn, but I cant get them to all move at once..here is the code for just making two …

+0 forum 0
Member Avatar

Now ever since he did this no applets run. OS is Windows XP Pro SP1(reapply sp1?) Would anyone know where to change this in the registry? I checked in HKEY local machine and also HKEY Local User. Both are set to 1 which means its enabled... Because of the custom work environment Sun JVM does not work. Neither does netscape this was a custom app built for IE and MS JVM.

+0 forum 0
Member Avatar

Okay in case anybody was wondering I solved the class call problem. Now I am trying to create a file for Enemy characters that will store appx 100 different Enemies and depending on the level of the main character apply different stats to those enemies along with a randomly selected name, I also intend to use the basis of this code to create NPCs and shops randomly. Every shop will be filled with a number (1-10) NPCs who will be randomly selected and placed there. Included is a sample of the current enemy code I am using. I haven't set …

+0 forum 0
Member Avatar

[url]http://www.cs.toronto.edu/~gfb/csc148/2003F/a2/[/url] is it that we've to make arraylists and then link them or ceate linkedlists nad in them create arraaylist and link linkedlists. please let me know if sample code just how to get started appareciate tht thanks a lot!

-1 forum 0
Member Avatar

I'm looking for a Table of Contents JAVA script that allows 3 different images. #1 the "off" image #2 the "hover" image and #3 the "selected or clicked" image. I have script that allows me to do rollovers, I'd like to expand it so when an image is clicked on and the corrosponding web page show up an image replaces the original to indicate that the content on the screen is from the selected image. Also, if a different image is selected and it needs to have an indicator showing that its content is what is being displayed I'd like …

+0 forum 0
Member Avatar

Hi All, Can any one give me the code for closing a browser window. [code] function closewindow() { if (newwindow && !newwindow.closed) { newwindow.close() } } <input type="button" value="close" onclick="javascript: closewindow()"> [/code] this is what i have and it dont work. also, just a point, the first time i used javascript was yesterday, so please explain the obvoius as thats probably what i'm missing here. cheers spikes

+0 forum 0
Member Avatar

Hi All, i am using a combination of php and javascript on a current project, but i have got stuck. bellow is a sudo code page to try and explain what i am doing <js> function = newwindow() </js> <form> <?php echo field1> <?php echo field2> <inputtype=checkbox> onclick = submit data from selected fields and open page 2 in a target window </form> hope that makes some sence, without the html. so what i have is a form populated by php, from a database. then next to each row on the form i have a checkbox, that is linked to …

+0 forum 0
Member Avatar

Does anyone know where I can look at code for checkpinting Java applications? Any info would be very helpful. thanks.

+0 forum 0

The End.