I have a JFrame that is 500x500 and inside that is a DrawingPanel that is 2000x2000.
How would I change the view of the DrawingPanel so that I could see a different area other than from 0 to 500...
Type: Posts; User: magicgavin; Keyword(s):
I have a JFrame that is 500x500 and inside that is a DrawingPanel that is 2000x2000.
How would I change the view of the DrawingPanel so that I could see a different area other than from 0 to 500...
The code below reads the Global Address List in Microsoft outlook.
How do I search the address list or filter out unwanted entries.
There are about 100,000 names in the list and I only want the...
The file which I'm trying to do this in is a .hta (Hyper Text Application). I'm trying to load HTML code from a .txt file into a <span></span>. The .txt file contains a template html code that must...
Is it possible to reference a javascript variable as you would an asp.net variable.
var test="hello";
<input type="textarea" value="<%=test%>">
Ideally the value of the textarea should now...
Also using
-=- is the same as += but it will be treated as a number rather than a string.
I'm creating a single class java program that needs to constantly run a method.
I know in javascript you can do setInterval("Method",time);
but this obviously does not work in java. Any help...
Thanks for your help. I removed void because I though string replaced it.
I'm trying to pass a string into the method and have it return the results from mydata2. It keep getting the error "missing return statement".
// Main method
public static String readData...
With that the button will never disable once you have been to 2 webpages.
Even if you go back to the first page it will still say there are 2 items in the history.
1) CODE TITLE: DHTML + AIM = Multiplayer Cross Browser Games
2) AUTHOR NAME/NOTES:
This is done using the web aim (http://developer.aim.com/webaim)
The code is not by me but I modified it....
I'm not really sure why i haven't received and replies. Maybe pseudo was the wrong choice of words. This really works. It allows for data communication between 2 javascript applications on 2...
This is what the code in the head should be. Notice the onload event is the only change
function menuRedirect(){
var select = eval(document.redirectForm.elements[0].selectedIndex);
var...
Your options are kinda limited.
history.back() or history.go(-1)
history.foward() or history.go(1)
history.length
history.length seems like a ray of hope... but its not.
if you start at...
1) CODE TITLE: Psuedo Sockets
2) AUTHOR NAME/NOTES: Gavin Delphia
3) DESCRIPTION:
This demo shows that is is possible to send data packets between 2 applications using javascript on a lan....
var my_deck=new Array(1,2,3,4,5);
var area_deck=new Array();
function ShuffleDeck(){
arena_deck=my_deck.slice(0,my_deck.length);
area_deck[0]="a";
alert(my_deck)
}
ShuffleDeck()
So how do I fix it so this does not happen?
i have the following code:
var my_deck=new Array(1,2,3,4,5);
var area_deck=new Array();
function ShuffleDeck(){
area_deck=my_deck;
area_deck[0]="a";
alert(my_deck)
}
I honestly didn't create the conversion. I found the script on a website and asked premission to use it but no one knew who made it. I recreated it using the codes that already existed (except \n...
So I got rid of all the global this.variable and I only used this. to call functions within the namespace.
I also made all the functions in the namespace format with better names that "To".
...
ok, I'm going on vacation soon but I'll work on converting them all to use namespace rather than this.variable
No longer contains $ in function names.
New Binary and Ascii Conversion by Twey. - Credited in file too :)
Added Custom Error handler
Added Window Resizing
Although some of the functions do...
Thanks I'll start using that in my scripts instead of the this.variable.
I'm unfamiliar with your code so could you create the namespace using my code as an example without the $ signs :)
I used the dollar sign to prevent duplicate functions. I intended people to link the script and start using it. I wanted to make sure my functions and there functions were unique and short so I added...
I intended this.x and this.y ect so that you could do the following
var conversion1=new $ToAscii('00000000'); - returns \n
var conversion2=new $ToAscii('01010000'); - returns P
then later if...