so this is the combination of both, i've seen this thing on a bank site so i thought i can try and do it,
it simply change the status bar context continuously and it appear as a banner in the status bar of the browser (don't work with chrome)
so maybe we can add this to the site make it look even cooler
Code: Select all
import java.awt.*;
import java.applet.*;
public class StatusBanner extends Applet implements Runnable{
String msg = "suck-o Mind Over Matter ";
Thread t;
boolean stop;
public void init(){
t=null;}
public void start(){
t=new Thread(this);
stop = false;
t.start();
}
public void run(){
char ch;
try{
while(true){
getAppletContext().showStatus(msg);
Thread.sleep(150);
ch = msg.charAt(0);
msg = msg.substring(1,msg.length());
msg+=ch;
if(stop) break;
}
}
catch (InterruptedException e ){}
}
public void stop(){
stop = true;
t=null;
}
}
/*---__-_-__-____---_-__---__---_----_--_____--_____----__*/
/*******> Coded by l0ngb1t <*******/
/**> From www.suck-o.com <**/
/*******> Mind Over Matter <********/
/*--__-_-___-_-___---___--_-___--____---__-__---___-----__*/
for all those who want to test it compile or download the .class file from here http://www.sendspace.com/file/ahx90l
create an html file the same directory as the .class file and c/p this into it
Code: Select all
<HTML>
<BODY>
<applet code="StatusBanner">
</applet>
</BODY>
</HTML>
and open the page
thinking about selling it for some local sites here and make some money how much you guys think i can get for each site