CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Goodz13

Page 1 of 42 1 2 3 4

Search: Search took 0.61 seconds; generated 28 minute(s) ago.

  1. Re: calling applet from a jsp; classNotFoundException

    The applet tag is reading com.tienshan.applet.nbsa11.NBSA110Main.class as if 'class' was the applet that you want to execute and 'NBSA110Main' as part of the package. So you can drop the '.class'. ...
  2. Replies
    14
    Views
    4,213

    You could use URL.openStream()...

    You could use URL.openStream(), and read the contents using an InputStream but I hope you are not trying to steal copyrighted material ;)
  3. Replies
    6
    Views
    2,236

    Unless there is a network hickup, I would think...

    Unless there is a network hickup, I would think it would come as one.
  4. Replies
    4
    Views
    930

    Try Double buffering. The idea is to paint on a...

    Try Double buffering. The idea is to paint on a rendered image, then paint the image.
    http://www.javaworld.com/javaworld/jw-03-1996/jw-03-animation-p2.html#doubleBuffer
  5. Please don't post duplicate posts. Formatted...

    Please don't post duplicate posts.

    Formatted code is much easier to read. Please use the code tags
  6. Replies
    1
    Views
    745

    Please don't ask people to email you a solution.

    Please don't ask people to email you a solution.
  7. Replies
    1
    Views
    781

    You are going to have to provide more...

    You are going to have to provide more information. What are you trying to do, What do you have now, Have you even started.
  8. Replies
    2
    Views
    1,415

    Try using JTextArea...

    Try using JTextArea or JEditorPane instead of using TextLayout
  9. Replies
    3
    Views
    1,208

    You could try something like: ...

    You could try something like:




    BufferedInputStream recdMsg = new BufferedInputStream(soc.getInputStream());
    stringbuffer = new StringBuffer();

    int i = -1;
    while((i = recdMsg.read()) !=...
  10. Replies
    20
    Views
    2,693

    This sounds like a layout manager issue rather...

    This sounds like a layout manager issue rather than a member variable issue


    So are you trying to draw a shape with the Graphics class?

    ie


    public void paint(Graphics g) {
    ...
  11. Replies
    20
    Views
    2,693

    I'm confused.:confused: So base is a class,...

    I'm confused.:confused:

    So base is a class, gui inherites from base? But in gui you have an Object of base, and you want to change the size member variable for all instances of class base?
    ...
  12. I don't think that you will actually get errors,...

    I don't think that you will actually get errors, but the VM (Virtual Machine) will pick up the class it finds in the classpath first.

    ie if your classpath is something like:

    Test1.jar;Test2.jar...
  13. Is the package the same? If not than the only...

    Is the package the same?

    If not than the only thing that you will have to do is, provide the fully qualified package name when declaring variables. ie



    ResultSet myResultSet =...
  14. Replies
    20
    Views
    2,693

    I'm not sure actically sure what your asking...

    I'm not sure actically sure what your asking here, can you post some code that might clear things up?
  15. Replies
    1
    Views
    1,167

    Have a look at the applet converter. It should...

    Have a look at the applet converter. It should be in the bin directory of your java install location.

    What it does is take applet html tags and conver them into object and embed tags so that it...
  16. Replies
    0
    Views
    860

    Security Issue with Java

    Ecross has brought to my attention a security issue with certain Java Runtime Environment's.

    A full description can be found at the following URL:...
  17. Replies
    2
    Views
    962

    Another reason netscape has better security:D

    Another reason netscape has better security:D
  18. Replies
    1
    Views
    760

    You can set it up in your project properties. ...

    You can set it up in your project properties.

    You could jar your first project and add it as a required library in your second.

    Project->Project Properties->Rquired Libraries tab->Add button
    ...
  19. Splitting hairs It won't runinside the browser......

    Splitting hairs It won't runinside the browser... Unless it's an Applet, it won't run on the page either. But you can call your class from an applet and open a Window or Frame (whatever your app...
  20. Replies
    1
    Views
    1,299

    Are you talking about sending the event to the...

    Are you talking about sending the event to the OS? Check out the Robot class
  21. Replies
    7
    Views
    3,148

    The ImageIcon class supports whatever the AWT...

    The ImageIcon class supports whatever the AWT Toolkit does. Which I think is only GIF, JPEG or PNG.

    But here's something you might be interested in...
  22. Replies
    4
    Views
    1,522

    Servlets are server side, so your browser...

    Servlets are server side, so your browser shouldn't make a difference. I'm not sure what to tell you if it works in an application, but not a servlet, unless Tomcat isn't reading the classpath...
  23. Replies
    4
    Views
    1,522

    I assume that you already know that you have to...

    I assume that you already know that you have to provide a path to your mySql driver:

    but try the following



    try
    {
    String url = "jdbc:mysql://localhost/twdb";
    ...
  24. Replies
    4
    Views
    979

    There's a lot of people who get the 2 confused...

    There's a lot of people who get the 2 confused Kylevision. Have a look at dialogs. http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html

    There's a lot of ways you could do it. ...
  25. Thread: inner class

    by Goodz13
    Replies
    1
    Views
    844

    Sure, from the inner class, ...

    Sure,

    from the inner class,


    OuterClass.this.myMethod();


    where OuterClass is the name of your Outer Class.
Results 1 to 25 of 1042
Page 1 of 42 1 2 3 4





Click Here to Expand Forum to Full Width

Featured