java applet

search for more blogs here

 

"How to make use of JApplet's JLayeredPanel?" posted by ~Ray
Posted on 2008-11-13 12:15:27

Java Applet Development - How to make use of JApplet's JLayeredPanel? My applet has several screens.. a loading screen a login screen a chat screen etc. It switches between screens at various times during operation. Here are some snipits from the current code: // Load Panels (called soon after init() while the loading panel is displayed) This code works fine. But my app has gotten more complicated and I need to manage several layers. I was hoping this would work.. but it doesn't. Can anyone tell me why? // Load Panels (called soon after init() while the loading panel is displayed) When I use this code nothing shows up. The applet is blank. Thanks very much if you can help,Stephen Re: How to make use of JApplet's JLayeredPanel? (reply 1 of 1) (In reply to ) I never tryied the JLayeredPane add(comp) function and am away from my compiler right now. I would suggest you try this signature (as given in http://java sun com/j2se/1.4.2/docs/api/javax/swing/JLayeredPane html) : layeredPane add(child. JLayeredPane. DEFAULT_LAYER); or layeredPane add(child new Integer(10)); I used it in my game applet to display the login dialog using JLayeredPane. MODAL_LAYER and didn't experienced any problem. Hope this helps. Carl Unless otherwise licensed code in all technical manuals herein (including articles. FAQs samples) is provided under this.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5232488

comments | Add comment | Report as Spam


"Problem loading a properties file" posted by ~Ray
Posted on 2008-03-12 23:06:20

I am developing an applet and I want to use a properties file in order to undergo some configuration data embededI have packaged everything in a jar fileThe code I have written in the applet's init method to apply this requirement is this:ClassLoader cl=this getClass() getClassLoader();InputStream is=cl getResourceAsStream("/geom/def/base/premarc properties");I undergo also tried calling getResourceAsStream from the categorise disapprove instead of the ClassLoader object with the same result. In the HTML file. I have put the APPLET tag with the ARCHIVE and CODEBASE attibutes pointing to the jar register. The determine is correct since I can see in the Java console my System out instructionsThe result I am getting is that the InputStream returned by getResourceAsStream is always nullAnybody could tell me what I'm doing do by?Thanks in advance Hi I am having exactly the same problem. If I run the code in a main categorise it runs perfectly. But as soom as I act it in Init method it throws me error saying properties register not open. FYI I am using JPOS and m trying to communicate with signature interpret device. gratify help !!!Saurabh

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5232612

comments | Add comment | Report as Spam


"Problem loading a properties file" posted by ~Ray
Posted on 2008-03-12 23:06:18

I am developing an applet and I want to use a properties register in order to have some configuration data embededI have packaged everything in a jar fileThe code I have written in the applet's init method to implement this requirement is this:ClassLoader cl=this getClass() getClassLoader();InputStream is=cl getResourceAsStream("/geom/def/base/premarc properties");I undergo also tried calling getResourceAsStream from the categorise disapprove instead of the ClassLoader disapprove with the same prove. In the HTML register. I have put the APPLET tag with the ARCHIVE and CODEBASE attibutes pointing to the jar file. The value is correct since I can see in the Java console my System out instructionsThe result I am getting is that the InputStream returned by getResourceAsStream is always nullAnybody could tell me what I'm doing do by?Thanks in go Hi I am having exactly the same problem. If I run the code in a main class it runs perfectly. But as soom as I keep it in Init method it throws me error saying properties file not found. FYI I am using JPOS and m trying to communicate with signature capture device. Please back up !!!Saurabh

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5232612

comments | Add comment | Report as Spam


"Ansi escape color codes in java applet" posted by ~Ray
Posted on 2008-01-01 21:12:02

I'm not exactly sure if I'm in the alter forum. I didn't see one that fit the topic better than this... Earlier today I set up the mudmagic java client on our site since it has more functionality than an old telnet java applet we had before. I noticed a few things with the way it parses ansi escape codes its very literal to the current standards which makes most muds appear wrong. Most mud bases and then by extension the clients meant to play them still use the old dos based ansi standard where bolding the font actually acts as using bright intensity since the old ansi didn't support 90-99 for the high intensity colors. Since the java client actually uses the 1 to bold the font the end result is most muds viewed in it have the colors wrong. The other problem is that many muds ours being heavily smaug based so by extension of that I assume smaug as come up use \E[m (CSI m) to reset to the default font and it is supported on all mud clients I've seen except the java applet where it requires it to be the full current standard of \E[0m. Normally it wouldn't be much of a problem except that if I just have it feed \E0m it breaks Clio which is the mud client I use when ssh'd into my linux box to get around this for the color resets I'm actually having to send \E[m\E[0m which seems to work right so far in every client I've tried. Unfortunately I can't use the same trick for the bold colors since although many mud clients support it the first major one I tried did not (Cmud) and it didn't recognize the 90-99 codes and Cmud (and Zmud) ordain make any unrecognized color label the default color (sounds like they use a change by reversal statement). Thanks for reading my request. I'll keep an eye out for an modify in the future.

Forex Groups - Tips on Trading

Related article:
http://www.mudmagic.com/boards/bases/4/11572/11572

comments | Add comment | Report as Spam


"Checking to see whether a user exists in a Windows Active Directory" posted by ~Ray
Posted on 2007-12-15 14:59:49

I undergo a little java applet that has to run through a large list of users and for one of its tasks it has to check to see whether that user exists. Mostly this is the same as running with local users with the one exception that I can't just check to see if a home directory exists. Right now I am checking the return label from "net user <username>" but executing this program for every potential user is extremely decrease. Are any java facilities to broach with users on the local system? If not does anyone else have any suggestions? Also a say for any responses- I'm using java to get around the lack of any easy way to set up a good scripting environment on Windows. I undergo a completed tool and I don't be to rewrite it. <sarcasm>I be to bequeath this function - what's it called? Ah. Google. Yes.</sarcasm>Try http://www google com/search?q=java+active+directory+query

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5237550

comments | Add comment | Report as Spam


"Urgent. I need solution." posted by ~Ray
Posted on 2007-12-09 13:31:55

it as file. When I tested it on local environment it works well. But when I tried this on client computer it doesn't bring home the bacon and says etc. It seems that I should sign my applet for it's performance but I don't experience how to I've already alter jar file and signed using jarsigner but it didn't help my applet. To get rid of register permission exception what should I do?help me as soon as possible thank you genette. I' ve construe homepage you suggested. But still I am wondering how... My wondering is how the client's java policy I can alter/dress ?The webpage says how to dress policy register and set as default policy file then it means if I set as default then that policy file ordain be loaded to client from server ?Can you make me clear on this?sorry. I evaluate your advice thank you genette. an applet cannot find the register system where it is running to do that you need to edit the policy file of the computer you want the applet to have find. Take a be at this link: http://tech-www informatik uni-hamburg de/applets/hades/webdemos/java-policy-editor html You can also sign your applet. Try again signing your applet by following this cerebrate: http://java sun com/docs/books/tutorial/security/toolsign/list html

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5235552

comments | Add comment | Report as Spam


"Urgent. I need solution." posted by ~Ray
Posted on 2007-12-09 13:31:55

it as file. When I tested it on local environment it works well. But when I tried this on client computer it doesn't work and says etc. It seems that I should write my applet for it's performance but I don't know how to I've already make jar file and signed using jarsigner but it didn't back up my applet. To get rid of register permission exception what should I do?help me as soon as possible thank you genette. I' ve read homepage you suggested. But still I am wondering how... My wondering is how the client's java policy I can edit/dress ?The webpage says how to change policy file and set as default policy file then it means if I set as default then that policy file will be loaded to client from server ?Can you make me alter on this?sorry. I expect your advice convey you genette. an applet cannot access the file system where it is running to do that you be to edit the policy file of the computer you be the applet to have find. Take a be at this link: http://tech-www informatik uni-hamburg de/applets/hades/webdemos/java-policy-editor html You can also sign your applet. Try again signing your applet by following this cerebrate: http://java sun com/docs/books/tutorial/security/toolsign/list html

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5235552

comments | Add comment | Report as Spam


"Urgent. I need solution." posted by ~Ray
Posted on 2007-12-09 13:31:46

it as file. When I tested it on local environment it works come up. But when I tried this on client computer it doesn't work and says etc. It seems that I should sign my applet for it's performance but I don't experience how to I've already make jar register and signed using jarsigner but it didn't help my applet. To get rid of file permission exception what should I do?back up me as soon as possible convey you genette. I' ve construe homepage you suggested. But comfort I am wondering how... My wondering is how the client's java policy I can alter/dress ?The webpage says how to change policy register and set as default policy file then it means if I set as default then that policy file will be loaded to client from server ?Can you alter me clear on this?sorry. I expect your advice thank you genette. an applet cannot find the register system where it is running to do that you be to alter the policy file of the computer you want the applet to undergo access. act a be at this link: http://tech-www informatik uni-hamburg de/applets/hades/webdemos/java-policy-editor html You can also write your applet. Try again signing your applet by following this link: http://java sun com/docs/books/tutorial/security/toolsign/index html

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5235552

comments | Add comment | Report as Spam


"My project requirement : Applet, Ajax communication needed" posted by ~Ray
Posted on 2007-11-27 19:56:15

This is the requirement in my project. I have an Image Capturing Applet embedded in a html. The function in the applet returns the byte arrange(this byte array is actually returned by a SDK shipped with the camera). Now my html also has some demographic data of an employee whose visualise is being captured in the applet. To be more precise my requirement is to interpret image and data of an employee and store it in a database. Now how can I send this byte array and demographic data to the servlet simultaneously i e in a single request. Is sending the above request through AJAX feasible?Please back up me end this air. Thanks in go. AJAX is something different. If you're already using AJAX you can set up your server-side code to service both AJAX calls and requests from the applet (maybe if necessary). But from what you described. AJAX is irrelevant. RyanRM wrote:put the html data in the applet using param tags and accept the applet to send both html and byte arrange to the servlet. Just to explain subject the demographic data (which is currently in the HTML) to the applet via its param tags and send the demographic data and the byte array to the servlet. You're not sending the HTML to the servlet you're sending the data which happens to be currently in the HTML.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5236372

comments | Add comment | Report as Spam


"How To Get Java Sound" posted by ~Ray
Posted on 2007-11-17 15:26:34

I need some help/assistance w getting some appear to be played in a Java Applet!!! Do I use the "getCodeBase( )" and/or the "getResource( )" methods to do this? I be some back up/assistance w getting some sound to be played in a Java Applet!!! Do I use the "getCodeBase( )" and/or the "getResource()" methods to do this? getCodeBase() helps find resources relative to the codebase of the applet. If a WAV were in the same directory as the applet it might be possible to construct an URL desire this.. getResource() is used for resources that are on the classpath of the applet which adds upp to 'the things in Jar's that are referenced in the archive evaluate of the applet element'. It is not especially a good idea to put things desire sounds into Jar files since they are often already compressed and for that reason it does not make much sense to try to recompress them (the prove is often bigger) and if you put them in a separate 'undeflated' Jar it simply represents a 'bunch of uncompressed sounds' that would be just as easy to get from the same directory (or sub-directory or relative directory) using a relative path from the the codebase as any other way.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5234444

comments | Add comment | Report as Spam


 

 




blogs - aa blogs - air force blogs - aquarius blogs - aries blogs - army blogs - arts blogs - baby blogs - blogs 4 men - blogs 4 women - cancer blogs - capricorn blogs - career change blogs - choice blogs - christmas blogs - cigar blogs - cigarette blogs - cig blogs - coast guard blogs - coffee bean blogs - college baseball blogs - college basketball blogs - college football blogs - colleges blogs - computer blogs - create blogs - dating blogs - elvis blogs - email chat blogs - email pal blogs - enhancement blogs - fall blogs - fha blogs - freedom blogs - friendly blogs - funny blogs - gambler blogs - gemini blogs - her blog - his blog - hockey blogs - join blogs - javas blogs - kid safe blogs - leo blogs - libra blogs - apartments blogs - coffees blogs - horoscopes blogs - life advice blogs - lover blogs - marine blogs - married blogs - military blogs - misc blogs - more money blogs - mortgage blogs - move blogs - movies blogs - musical blogs - navy blogs - new in town blogs - obscure blogs - online date blogs - online game blogs - over 30 blogs - over 40 blogs - over 50 blogs - over 60 blogs - over 70 blogs - over 80 blogs - over 90 blogs - password blogs - pc blogs - mortgages blogs - peoples blogs - pictures blogs - pipe blogs - pisces blogs - poems blogs - poker blogs - police blogs - political blogs radio blogs - read blogs - recreational vehicle blogs - relocation blogs - reserve blogs - rv blogs - safe blogs - scorpio blogs - singles blogs - smokers blogs - smoker blogs - state blogs - state college blogs - taurus blogs - teen advice blogs - teenager blogs - tobacco blogs - tv blogs - vacation blogs - veteran blogs - virgo blogs - virtual blogs - weekly blogs - wingman blogs - word blogs - words blogs - writer blogs - poetry blogs - prescription blogs - sagittarius blogs - straight blogs - summer blogs - gi blogs - hooka blogs - penis enlargement blogs - vfw blogs - casinos blogs - casino blogs - web hosting blogs - hosting blogs - auto blogs - truck blogs - van blogs - suv blogs - 4 wheel blogs - harley blogs - flu blogs - diet blogs - pistols blogs - teenage blogs - lpga blogs - burnable blogs - new tunes blogs - coaching blogs - treasures blogs - trades blogs - nutty blogs - skate blogs - play 21 blogs - weather blogs - poker players - golf blogs - american blogs - football blogs - baseball blogs - hockey blogs - basketball blogs - soccer blogs - cooking blogs - recipe blogs - space blogs - 3d games blogs - barbecue blogs




the java applet archives:

11 articles in 2006-01
22 articles in 2006-02
27 articles in 2006-03
36 articles in 2006-04
27 articles in 2006-05
26 articles in 2006-06
24 articles in 2006-07
18 articles in 2006-08
22 articles in 2006-09
30 articles in 2006-10
22 articles in 2006-11
22 articles in 2006-12
12 articles in 2007-01
12 articles in 2007-02
3 articles in 2007-03
7 articles in 2007-04
11 articles in 2007-05
10 articles in 2007-06
3 articles in 2007-07
1 articles in 2007-09




next page


java applet