Search:
Type: Posts; User: Goodz13
Search :
Search took 0.06 seconds.
October 8th, 2004 12:55 PM
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'. ...
November 30th, 2003 09:35 AM
You could use URL.openStream(), and read the contents using an InputStream but I hope you are not trying to steal copyrighted material ;)
November 24th, 2003 05:03 PM
Unless there is a network hickup, I would think it would come as one.
November 23rd, 2003 03:13 PM
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
November 22nd, 2003 11:41 AM
Please don't post duplicate posts.
Formatted code is much easier to read. Please use the code tags
November 21st, 2003 10:57 PM
Please don't ask people to email you a solution.
November 21st, 2003 10:57 PM
You are going to have to provide more information. What are you trying to do, What do you have now, Have you even started.
November 20th, 2003 08:01 PM
Try using JTextArea or JEditorPane instead of using TextLayout
November 20th, 2003 07:57 PM
You could try something like:
BufferedInputStream recdMsg = new BufferedInputStream(soc.getInputStream());
stringbuffer = new StringBuffer();
int i = -1;
while((i = recdMsg.read()) !=...
November 18th, 2003 08:49 PM
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) {
...
November 18th, 2003 08:36 PM
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?
...
November 18th, 2003 08:26 PM
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...
November 18th, 2003 06:08 PM
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 =...
November 18th, 2003 05:59 PM
I'm not sure actically sure what your asking here, can you post some code that might clear things up?
November 6th, 2003 05:19 PM
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...
November 3rd, 2003 04:54 PM
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:...
November 2nd, 2003 05:35 PM
Another reason netscape has better security:D
October 25th, 2003 01:07 PM
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
...
October 14th, 2003 05:46 PM
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...
October 7th, 2003 07:46 PM
Are you talking about sending the event to the OS? Check out the Robot class
October 7th, 2003 07:44 PM
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...
October 6th, 2003 11:23 AM
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...
October 6th, 2003 10:28 AM
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";
...
September 27th, 2003 03:23 PM
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. ...
September 27th, 2003 03:19 PM
Sure,
from the inner class,
OuterClass.this.myMethod();
where OuterClass is the name of your Outer Class.
Click Here to Expand Forum to Full Width