When I run the Java applet it compiles and runs it as normal, but when I embed the class file on a webpage it doesn't show any changes I've made to the program.
@maikkel81 He did in ep 1 I think, when he explained why he prefers eclipse to netbeans or intellij. For the record, I started trying to learn with netbeans but I hated it because the tutorials were all about how the picture looked and you never ever learnt any actual code. That's just my opinion tho :P
in the source code, a copyright comment,,, * You acknowledge that this software is not designed, licensed or intended * for use in the design, construction, operation or maintenance of any * nuclear facility.
@FrozenIceCweam I believe I tried both and neither worked. I think its because I'm using Netbeans, I google searched it and found some other people who had the same issues. I should probably use eclipse. Thanks for asking though.
I'm using NetBeans (6.9.1) and this applet works perfectly ok, through all the tutorials I had no problems with it, it worked just fine as bucky's eclipse
probably, but i dont see the reason why it woudlnt work in previous versions, maybe you have some problems with packages, caus i made new package for every tutorial and i use to copy main methods and there is sometimes wrong package imported, or it is imported under impot java.swin...
i mean i just guess, couldnt find particural reason for ur problem
java should let us say
import *.*.*
888888881me 1 month ago in playlist Intermediate Java Tutorials 2
When I run the Java applet it compiles and runs it as normal, but when I embed the class file on a webpage it doesn't show any changes I've made to the program.
TriCrose 1 month ago in playlist Intermediate Java Tutorials
why do you never ever even mention Netbeans? Many people like it much more than Eclipse...
maikkel81 1 month ago in playlist Intermediate Java Programming
@maikkel81 He did in ep 1 I think, when he explained why he prefers eclipse to netbeans or intellij. For the record, I started trying to learn with netbeans but I hated it because the tutorials were all about how the picture looked and you never ever learnt any actual code. That's just my opinion tho :P
TheViolinCalamity 1 week ago in playlist Java (Intermediate) Tutorials
which version u r using?
musacleverboy 1 month ago
Great.
scuzimhon 1 month ago
hmmmm do we have to use JApplet, or could we use the import java.applet.Applet?
mylifeis2coolcmc2 2 months ago
Warning: Can't read AppletViewer properties file: C:\Users\gatoo20\.hotjava\properties Using defaults. wut?
gatoo23 2 months ago
we need more Applet turoals! Make more! PLEASE!!!!! THANKS!
sciman001 3 months ago
in the source code, a copyright comment,,, * You acknowledge that this software is not designed, licensed or intended * for use in the design, construction, operation or maintenance of any * nuclear facility.
.........What......The........Fuck?
xero907 4 months ago
Comment removed
Haroids 6 months ago
great dude
singhbaghelshubham 7 months ago
"Mine Fat" :D
Betahau 7 months ago
This has been flagged as spam show
I made a function to do it in Vim. The html characters are escaped.
function! AppletViewer() exec "!javac" @% 1sl !rm A.html bd! A.html redir @b echo "<html>" echo '<applet code="'.expand("%:r").".class".'" height="200" width="320">' echo "</applet>" echo "</html>" redir END bad A.html b! A.html normal "bpggdd w 1sl !appletviewer A.html
endfunction
solde99 7 months ago
"Introduction to Apples" :D
mamdoma 11 months ago
that's not an URL or a firefox document. That's a HTML document with the default open program firefox.
catchthatchucky 1 year ago 8
@catchthatchucky He knows that. No need to point it out.
CODtheater 5 months ago
runescape! lol
Mrjameslat 1 year ago
Runescape! :D
nickbr6 1 year ago 37
@nickbr6 OH YEA, DUMB GAME FAN.........
Jozekban 1 year ago
I think super.paint(g) is deprecated, i used
public void paint(Graphics g){ super.paintComponents(g); g.drawString("Juhu applet", 25, 25); }
matbaric 1 year ago
For Mac OS X, you can find all the applets at this location: /Developer/Extras/Java/Applets. Pretty Cool Applets!!
themacguy1001 1 year ago 2
RuneScape uses JAVA?!?! Coooool...
themacguy1001 1 year ago 2
thank god for Bucky!!!!! and f runescape
unstman12 1 year ago
@thenewboston - Do you play Runescape? Or have you just heard about it
5trayProductions 1 year ago
@ConMaheff did u spell everything right this time? Heh Heh:)
5trayProductions 1 year ago
in ur very first tutorial u said that if the program does'nt has a main method then it wont work.....here i can't see main()
salmanhaidernaqvi87 1 year ago
I'm getting this error:
java.lang.NoSuchMethodError: main Exception in thread "main" Java Result: 1
it builds, but then doesn't run correctly later. I think it has to do with you not having a main method in this program?
I'm new at java, if anyone could help me with this I'd appreciate it.
I'm using netbeans, if that matters.
ConMahaff 1 year ago
@ConMahaff Are you running it as an applet? or an application?
FrozenIceCweam 1 year ago
@FrozenIceCweam I believe I tried both and neither worked. I think its because I'm using Netbeans, I google searched it and found some other people who had the same issues. I should probably use eclipse. Thanks for asking though.
ConMahaff 1 year ago
@ConMahaff
I'm using NetBeans (6.9.1) and this applet works perfectly ok, through all the tutorials I had no problems with it, it worked just fine as bucky's eclipse
Europemaster 1 year ago
@Europemaster Thats odd. Maybe I need to update or something, but I could never get it to run right. Glad yours worked.
ConMahaff 1 year ago
@ConMahaff
probably, but i dont see the reason why it woudlnt work in previous versions, maybe you have some problems with packages, caus i made new package for every tutorial and i use to copy main methods and there is sometimes wrong package imported, or it is imported under impot java.swin...
i mean i just guess, couldnt find particural reason for ur problem
Europemaster 1 year ago
nice job Sir Bucky! :)
kibaszottkurvajutub 1 year ago
Good work
ShiekhAhmedGalal 1 year ago
nice
MrSylarrr 2 years ago
FireFart Document lol, Bucky rlz
nikomandante 2 years ago 21
This comment has received too many negative votes show
FAIL
ZanderMander 2 years ago
But nice tutorial :D
ZanderMander 2 years ago
This comment has received too many negative votes show
FIRST!
baggeghfreak 2 years ago
This comment has received too many negative votes show
cool! also first =P
linkfan22 2 years ago