- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I like computers...
Chickens are awesome.!?...
Yeah...
15 Posted Topics
How could I [CODE]print();[/CODE] the '<' and '>' signs? You can't escape character them ('') Say, for example, I wanted to Print(); "The <font> tag is awesome" It would print out: "The tag is awesome" Thanks, Mitch | |
Re: if it is an application and not an applet, you could: 1. create a notepad .txt file. 2. rename it to something.bat 3. right click on file and select "edit" 4. type in: java (drag applet .class file here) 5. open start, run, type in cmd 6. drag something.bat into … | |
Re: [QUOTE=parihar2992;1259562]import java.applet.Applet; import java.awt.Graphics; public class DrawLineExample extends Applet{ public void paint(Graphics g){ g.drawLine(10,10,50,50); g.drawLine(10,50,10,100); g.drawLine(10,10,50,10); } } while running i got error message[/QUOTE] Please create a new thread. Each thread is for one problem most of the time Thanks, Mitch | |
Hi, I am trying to run an applet on a website, but when trying to access a file to write (reading works like a charm), do some wrapping: [CODE] try { FileOutputStream fos = new FileOutputStream("http://mitch9654.zymichost.com/songs.DAT"); OutputStreamWriter osw = new OutputStreamWriter(fos); BufferedWriter bw = new BufferedWriter(osw); } catch (FileNotFoundException e) … | |
Re: Did you make this program yourself? Because if it is yours, post the code (the words that you write into your programming IDE (application for producing programs, example: netbeans, Eclipse, notepad, etc.)) onto this thread. example: This is my code that I copied from my IDE: Netbeans: [CODE] import java.applet.*; … | |
Hello, I am having trouble writing to a file from an applet (in a local directory) without totally demolishing the file and erasing it's contents (okay, maybe I am exaggerating on the [I]destroying[/I] part :P, but it does erase it!). Also, I just can't make the applet [I]write[/I] to the … | |
Re: When running the program from outside of appletviewer, don't forget to do the whole jarsigning procedure! Here is what you you do: 1 Go to Start, then run, then type in cmd 2 type in: [CODE]path=C:\Program Files\Java\jdk1.6.0_20\bin[/CODE] or where ever your java binary directory is, 3. type in [CODE]keytool -genkey … | |
I am working on some code for getting user input on what songs they want for a dance. Unfortunately, when running the applet with some html, java opens a window saying [CODE]Java has discovered application components that could indicate a security concern[/CODE] three times, and no matter what you click, … | |
This button will only appear if you move your mouse over it. See here: [url]http://mitch9654.zymichost.com/Java/index.html[/url] You hava to move the mouse around the top left my applet is this [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package … | |
My custom button thing isn't clickable. I don't know why! (obviously :P) I DO have an action listener This make a button that looks like a cross. The input is: [code] "name", g, 0, 0, 100, 100 [/code] It looks like this: [url]http://mitch9654.zymichost.com/Java/index.html[/url] [code]package Buttons; import java.awt.*; /** * * … | |
Hello, I am trying to make a calculator that does multiplication, division, addition and subtraction. My problem is that when I have the two numbers that have decimals it goes wonky. Anyway, that program runs like this: 1. User enters equation 2. Unwanted characters get thrown out 3. If operation … | |
I read somewhere else and found some code that had something like this in it: [CODE]char buf[] = {0};[/CODE] what does this do? thanks mitch9654 | |
Re: you could try booting with a paper clip in the programmers hole, info on this here: [url]http://docs.info.apple.com/article.html?artnum=120068[/url], and do something like this: [url]http://www.macosxhints.com/article.php?story=20060301112336384[/url], except with using boot-device as cd:,\\:tbxi hd:,\\:tbxi instead. Like put in setenv cd:,\\:tbxi. If that doesnt work, go back to old settings by holding down appleicon+alt+P+R (or … | |
Re: I am still learning, but you might have better luck here [url]http://math.hws.edu/javanotes/c6/s4.html[/url] happy programming! mitch9654 |
The End.