Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Mietek Wojtek

Greenhorn
+ Follow
since Jan 27, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mietek Wojtek

Hi,
As in the subject got problem with google chrome. My applet is working fine but before it start I have to zoom in/out page in chrome to make it show to me.
Other browsers don't have such problem...
Thanks in advance,
Mietek.
6 years ago
Sorry for not responding but work is work...
However many thanks for some usefull information, I'm going to try to open it at some way (I'm not java expert so didn't recognise that programme will not run my Applet even if it's obvious that it's being made for some explorer).
Once again thank you and keep fingers crossed if I can run it finally.

Mietek.
6 years ago
Hi everyone,
I'm a newbie on your ranch, but hope at least you can help me.

Got problem with my programme (I'm using jcreator pro4.5) that should be a game but it still don't work.
That's the top of it:

import java.applet.*;
import java.awt.*;
import java.net.*;
import java.applet.Applet;
public class tetshit extends Applet implements Runnable
{
public Graphics g;

Here comes what Build says:

Note: C:\uczymy\tetshit.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

and the General:

Error: Main method not found in class tetshit, please define the main method as:
public static void main(String[] args)


However I'm quite sure about what I made more down in code I still have no idea what to do, because putting that standard main is blowing up whole programme and can't manage to repair it later and have no idea what to do about that xlint.

Let me know if you need whole code (a bit long lecture).
Thanks in advance,
Mietek.
6 years ago
Hi everyone,
I'm a newbie on your ranch but hope at least you people are able to help me when no one else did it.
Here come the top of my programme which should be a game but it still don't work:

import java.applet.*;
import java.awt.*;
import java.net.*;
public class thing extends java.applet.Applet implements Runnable
{
public Graphics g;

After compiling that, Build is yelling:
"C:\thing.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details."

And General says (and stop running programme):
"Main method not found in class tetshit, please define the main method as:
public static void main(String[] args)"

When I try to do anything on classes like adding that simple thing (don't think I should change anything on classes), whole programme is blowing up.
Please, tell me if you really need my whole code (long fairytale for you to read).
Thanks in advance,
Dog.
6 years ago