Tag Filter - (Applet)

Java console error could not initialize class sun.awt.X11GraphicsEnvironment

Well this is another sanity post to save me next time I need to figure this problem out again, the issue is running a applet on a server in a Headless X11 environment. There are java program settings to force checking that a X11 display is present and similar command line options do the same, however this doesn't help when trying to run on your server console terminal in a Headless environment...

Filed under: Java  Tags: Applet

Java applet not running

Probably the most common cause of an applet not running is that your applet code is not located in the correct place relative to your web pages applet tag. This can catch you out especially when your running XHTML code within a PHP framework such as CakePHP...

Filed under: Java  Tags: Applet

The basic structure of a java applet

The following code outlines the basic structure of a java applet, this example displays a simple "Hello World" applet...

Filed under: Java  Tags: Applet
(default) 9 queries took 3 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1DESCRIBE `posts`17170
2DESCRIBE `comments`11110
3DESCRIBE `tags`220
4DESCRIBE `categories`220
5DESCRIBE `posts_tags`220
6DESCRIBE `categories_posts`220
7SELECT Post.* FROM posts Post, posts_tags pt, tags t WHERE t.tag = ('Applet') AND t.id = pt.tag_id AND pt.post_id = Post.id AND Post.status = 1 ORDER BY Post.created DESC331
8SELECT category, COUNT(*) AS cat_cnt FROM categories_posts c2p INNER JOIN categories Cat ON c2p.category_id = Cat.id GROUP BY category15151
9SELECT tag, COUNT(*) AS tag_cnt FROM posts_tags t2p INNER JOIN tags Tag ON t2p.tag_id = Tag.id GROUP BY tag49491