Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by LeonTang

  1. LeonTang

    Making an Applet the parent of a Dialog ?????

    Hm.. this could be quite disastrous since your JDialog would be on top of your browser at all times... anyway you can take a look at the example I have done:- import java.awt.*; import java.awt.event.*; import javax.swing.*; public class dialogDemo extends JApplet implements ActionListener {...
  2. LeonTang

    Signing not enough?

    I am not very sure but I don't think you have to change the codes. I have never tried signning an applet but someone had told me before that there are some particular things that needs to be add into the codes, what I am not sure and to what extend is this true, I don't know. Perhaps you would...
  3. LeonTang

    How to call an applet's function from another java application?

    Hi, what type of Java program are you talking about? and how are you planning to connect your program to the applet in the first place? These are some questions, which I guess you should decide upon, since whether your program can call your applet methods, depend on them. Leon
  4. LeonTang

    I have a question about a couple of FAQs.

    lol~ I have roughly browsed through the faq about loading of applets but didn't find it quite useful... I don't know if anyone here hates you but at least I don't :) anyway, I guess don't bother writing faqs... you can write 100 of the same faq and you will still see the same question appearing...
  5. LeonTang

    Internal Frames and JMenuBar

    Hi, very sorry but it worked for me so I can't get a solution for your problem... Here is the example that I did:- import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class JIFDemo extends JFrame implements MenuListener { private Container...
  6. LeonTang

    "Stay on top" window state

    You can call the toFront() method found in class Window (JFrame inherits from Frame ,which inherits from Window) Leon
  7. LeonTang

    applet loads on one server, not on other

    Ok, this is what I found out. Your working version is alright but your non-working version for this exception 'bad magic number'. I encountered this error before too but I don't know how to solve it.... Anyway, I downloaded both the working and non-working applets and ran them from my pc. The...
  8. LeonTang

    What to use??

    Since you mentioned applets, I guess you would just like to create applets? If so, then it would be better to get books teaching pure applets (more examples) instead of a book on Java. You don't have to spend so much time too unless you have got the time. You can download JDK1.1, instead of...
  9. LeonTang

    Can Any one tell me what is this

    Hi italy, I guess you have the servlet with you right even though your are not the coder? Ok, take a look at the servlet SSMain.class. Look at the doGet() method. You should have at least 1 SSAbstractServlet object there and you called the method getSession() (provided your method is not...
  10. LeonTang

    applet loads on one server, not on other

    Post the url of your website if possible. Then we will be able to see for yourselves or else we will have a hard time guessing :) Leon
  11. LeonTang

    How to I get the text centered within my backround image in applett

    The applet wasn't created by him. He got it from a site (I went to the site before and he got some pretty good applets.) Btw, he didn't use Java 2 to create the applet. Wtchbld : You can't center the text within the applet due to the codes and since you only have the class file, there is...
  12. LeonTang

    Adding numbers through a loop

    Seems like there are a few errors. Try this instead:- int temp = 0; for(int sheet1RowCnt = 2; sheet1RowCnt <= Sheet1.getLastRow(); sheet1RowCnt++) { for(int i = 5; i <= 16; i++) { String addValues = Sheet1.getText(sheet1RowCnt, i)...
  13. LeonTang

    Applet outside of Forte IDE

    tmryan: I am currently using JPadPro. You can download it from anywhere but it has a limit of 30 days (I think). Luckily, you can get a crack from the web :) Regards, Leon
  14. LeonTang

    java applet information passing

    What function are you refering to? Javascript functions? I think you are able to... I have seen IRC applets that interact with html codes (that means using <input type=&quot;text&quot;> etc) and having javascript to pass the value in the textfield to the input parameters of the applet so I guess...
  15. LeonTang

    Sorry :( Applett still not loading

    Works for me too. I am using NS4.6 and JRE1.4(beta)

Part and Inventory Search

Back
Top