[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Update older Java code?

Update older Java code?

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Update older Java code?

Postby Cobalt » Fri Aug 07, 2015 4:02 pm

User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Update older Java code?

Postby frag.machine » Fri Aug 07, 2015 10:09 pm

As someone who write Java code for a living, my advice is: forget applets.
They are evil, specially the non-standard, full of unpatched bugs and security holes type generated with Visual J or Visual Studio for their unholy ActiveX-based virtual machine.
Nowadays this kind of effect is quite trivial in pure HTML5 (and if I can give my personnal opinion, of questionable taste :) ), absolutely no need of Java applets.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: Update older Java code?

Postby Cobalt » Sat Aug 08, 2015 1:15 am

Thanks FM. Someone else had mentioned CSS as the alternative. I just dont see how these are so dangerous because of their size and all they do is add an effect to the image the mouse hovers over and plays an audio file. But I made these back when fewer exploits came the way via Java, at least that was my experience back then when MS used its own Virtual Machine to run stuff like this. But sounds like you know more about it than me.
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Update older Java code?

Postby frag.machine » Sat Aug 08, 2015 3:58 am

Yup, HTML5 (which includes CSS, of course) is the way to go. Just Google for "html css neon effect" and you will find a bunch of examples.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm


Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest