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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rajarajan

    compilation error

    Hi sujitopics, And so if you create an instanc of B_Frame as B_Frame bfr = new B_Frame(); and then call the methods as bfr.hide(); bfr.dispose(); then your program would compile without complaining. Hope this helps. Regards, Rajarajan
  2. rajarajan

    JavaMail Error

    Hi cpope, I don't think the jar files has to be located in the places that you've mentioned. Let them stay free, whereever they like. Just add that location to your classpath and everything would work fine. Hope this helps. Regards, Rajarajan
  3. rajarajan

    program execution

    Hi poland, I tried executing the programs, and they worked fine. First I packaged them into a single package, using the package statement. Then, in the project properties, I chose the class to be run as Edu1. When I run the program, it asked for name in the message area. When I typed in my...
  4. rajarajan

    Help Editing Desktop Icon

    Sorry jeremytaffy, That was a silly spelling mistake on my part. Sorry once again. Regards, Rajarajan
  5. rajarajan

    Can't resolve symbol class

    Hi sheila11, Check out the highlighted part of the code in your original copy. public class TestAutoShop { public static void main(String[] args) { AutoShop m = new AutoShop(); m.displayHoursOfOperation(); System.exit(0); } } You'd have possibly commited a spelling error...
  6. rajarajan

    Help Editing Desktop Icon

    Hi jeremytaffy, It appears to me that you haven't put my code snippet into your main method. If you do so it should work. BTW, I can help you further, if you post that part of your code here. Regards, Rajarajan
  7. rajarajan

    Executing the IE via Java

    And to open an empty page, you can have String myurl="about:blank"; Regards, Rajarajan
  8. rajarajan

    Executing the IE via Java

    Hi frag, You can use the following code snippet to invoke IE from your application. Runtime rt = Runtime.getRuntime(); rt.exec("C:\\Program Files\\Internet Explorer\\iexplore"); Hope this helps. Regards, Rajarajan
  9. rajarajan

    Help Editing Desktop Icon

    Hi jeremytaffy, As RjB has explained, you'll have to call setImage() on an instance of Frame of JFrame. This means that, in your main() method, instantiate the class that you've inherited from Frame or JFrame. For example if you have a class called HelloWorldGUI extends JFrame, then...
  10. rajarajan

    How to store a file in Oracle DB ?

    Hi Oliv63, Let some DB expert answer your question. If you don't get one, you can try this out. You can store all your files in a specific directory, and store just the name and location of the file in the DB. This way you can achieve what you want, bypassing all the limitations of the...
  11. rajarajan

    RMI newbie - trying to run server gets exception noclassfound

    Hi Matt, The Sun Java Tutorial at http://java.sun.com/docs/books/tutorial/rmi/index.html and the rmi shortcourse at http://developer.java.sun.com/developer/onlineTraining/rmi/ might be of some help to you. Regards, Rajarajan
  12. rajarajan

    RMI newbie - trying to run server gets exception noclassfound

    Hi Matt, Add the following lines to a new file and name it as myPolicy.file grant { permission java.security.AllPermission; }; Then in the command line, while executing the app add -Djava.security.policy=myPolicy.file. Hope you'll succeed. Regards, Rajarajan
  13. rajarajan

    Newbie Question...

    Hi Raven123, You can create a class as follows class Cards { private String value; private Cards(String value) { this.value = value; } public String getValue() { return value; } public static final Cards CLUB = new...
  14. rajarajan

    J2EE and JSDK

    Hi jeanpierre, The following two pages on the sun site, gives a very brief description of the two technologies that you've asked about. http://www.sun.com/products-n-solutions/software/oe-platforms/java2se.html http://www.sun.com/products-n-solutions/software/oe-platforms/java2ee.html Hope...
  15. rajarajan

    RMI newbie - trying to run server gets exception noclassfound

    Hi Matt, Check if you have added this path to the classpath of your system. If not do so and your program would work fine. Regards, Rajarajan
  16. rajarajan

    Help Editing Desktop Icon

    Hi jeremytaffy, I believe you use swing. You can use the setIconImage(Image image) method of the java.awt.Frame class, to achieve what you want. The following is the code snippet I used. Toolkit toolkit = Toolkit.getDefaultToolkit(); Image image1 =...
  17. rajarajan

    Running a korn program through java gui

    Hi bos, My understanding of your problem, is that, you wish to create a gui, from where you can invoke korn shell script. If this is what you want, then kudos, it's possible. Regards, Rajarajan
  18. rajarajan

    What do I need to start learning JSP

    Hi jdubowy, I would recommend "Pure JSP" by James Goodwill (ISBN:0672319020). It will guide you through the prerequisites and the installation procedures as well. Sun's JSP page at http://java.sun.com/products/jsp/ is worth visiting. Regards, Rajarajan
  19. rajarajan

    Using Java with Textpad

    Hi JJOHNS, You can save the java file in any folder of your choice. Just add that path to the classpath, and run the program, and it would work fine. Regards, Rajarajan
  20. rajarajan

    Setting CLASSPATH

    Hi, There are two ways of doing this. 1) In the command prompt give the command, SET CLASSPATH=%CLASSPATH%;C:\zipfiles\mail.jar or 2) While executing your application, you can run it as java -cp .;c:\zipfiles\mail.jar;..... MailApp In the ....., fill in all the required jar files. (Here, I've...

Part and Inventory Search

Back
Top