list java

search for more blogs here

 

"Need help" posted by ~Ray
Posted on 2008-11-13 12:17:37

No. I can't. But (assuming these are Swing buttons and not say. HTML buttons) the smart people who inhabit the Swing forum could probably do that. So why not post Swing questions in the Swing forum? Assuming this is a Swing question of course.(I wouldn't care to have that button in any UI that I had to use but maybe there's a case for it somewhere.) 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=5246882

comments | Add comment | Report as Spam


"Where did I go wrong?" posted by ~Ray
Posted on 2008-03-12 23:08:46

-----I am new to java when I convey new this is my 3rd day looking around on net and trying wha tthey say but I move figure out whats do by. I try to get dominate prompt to "C:\java>" but I can't this is what comes up and I saved my HelloWorld to the java file (just thought you might need to know don't experience though) but this is what comes upMicrosoft Windows [Version 6.0.6000]Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\Matt>cd C:\javaThe system cannot find the path specified. C:\Users\Matt>cd C:\JavaThe system cannot find the path specified. C:\Users\Matt>------I change by reversal my path and all to this (adding the java bin one) %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_03\bin;Anyone experience where I messed up? Cause I been following Java's tutorials how to set it up but can't get it to work. Also could someone tell me some good books to buy to learnt he language. convey younull 2tone3 wrote:Maybe I should transfer Netbeans or JBuilder and try setign up them? No you need to understand how files are stored on your computer. Your post indicates a fundamental misunderstanding. Well that's an oxymoron... It's safe to anticipate that anyone who can WRITE a response can in fact READ. They just ho hand in hand like lubricant and.. well never object. Having said that. It is never safe to anticipate that I or anyone else on the forum has construe the thread the whole thread and nothing but the thread before authoring some smartassed impel away response to something which was said minutes knee weeks or even years previously.. but that's life in the boondocks.

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"Where did I go wrong?" posted by ~Ray
Posted on 2008-03-12 23:08:46

-----I am new to java when I convey new this is my 3rd day looking around on net and trying wha tthey say but I cant evaluate out whats wrong. I try to get command prompt to "C:\java>" but I can't this is what comes up and I saved my HelloWorld to the java file (just thought you might need to experience don't know though) but this is what comes upMicrosoft Windows [Version 6.0.6000]procure (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\Matt>cd C:\javaThe system cannot sight the path specified. C:\Users\Matt>cd C:\JavaThe system cannot find the path specified. C:\Users\Matt>------I change by reversal my path and all to this (adding the java bin one) %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_03\bin;Anyone know where I messed up? Cause I been following Java's tutorials how to set it up but can't get it to work. Also could someone express me some good books to buy to learnt he language. Thank younull 2tone3 wrote:Maybe I should download Netbeans or JBuilder and try setign up them? No you be to understand how files are stored on your computer. Your post indicates a fundamental misunderstanding. come up that's an oxymoron... It's safe to presume that anyone who can create verbally a response can in fact READ. They just ho hand in hand like lubricant and.. come up never mind. Having said that. It is never safe to anticipate that I or anyone else on the forum has read the thread the whole thread and nothing but the go before authoring some smartassed throw away response to something which was said minutes knee weeks or even years previously.. but that's life in the boondocks.

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"/n and /r is writting out as []" posted by ~Ray
Posted on 2008-01-01 21:13:51

I evaluate this has something to do with the method of writting I am usingi grab some information from a text handle add it to a string but when I change state it with notepad /n and /r look like []. (my other data does not be desire this when I open it with notepad) I know (when oppening with other apps it 'looks' fine) but that is irrelevant it means the data is not the same but I thought it would be utf8 and /n and /r would come out correctly in utf8. The data I want it to be a replica of does not display /n or /r as [] when opening with notepad so latter drink the lie when an application pics this up it will notice a difference. Im basically making small changes to data but the data (from a UTF8 XML but this data represents /n and /r correctly not as [] when opening with notepad so my data has to too what should I be using to write out?Edited by: Mr_Tuition on Dec 14. 2007 3:30 AMEdited by: Mr_Tuition on Dec 14. 2007 3:33 AM Mr_Tuition wrote:I experience (when oppening with other apps it 'looks' fine) but that is irrelevant it means the data is not the same but I thought it would be utf8 and /n and /r would come out correctly in utf8. No! It means that Notepad does not display it the way you expect it to. The data is change by reversal. Notepad does not understand it correctly. The data I be it to be a replica of does not display /n or /r as [] when opening with notepad so latter down the line when an application pics this up it will notice a difference. No it won't. Notepad is causing the problem. Other application will/should interpret it properly. but when I open other data with say pad that contain new lines tabs etc they look correctly formated so how undergo they been written out.. is it UTF8 ascii or another? I'm witting for a product when some one asks why the data looks different once its been manipulated with my program. I don't be to just say that the application should / will use it the same. I need the data to look exactly the same.... this is a formating problem with the create verbally method I am using what should I be using if not UTF8Note pad reads correctly for original content but not manipulated.. the problem is not say pad (since it will use the same read method for both files)Edited by: Mr_Tuition on Dec 14. 2007 3:42 AM Mr_Tuition wrote:but when I open other data with note pad that include new lines tabs etc they look correctly formated so how undergo they been written out.. is it UTF8 ascii or another? Nothing to do with UTF8 or ASCII (ASCII is just a subset.

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"Get an Event of GC invocation" posted by ~Ray
Posted on 2007-12-15 15:01:41

Hi Friends,I be to get an event of GC invocation i e. When JVM invokes full GC in reality I be that event. To be more alter I don't want to call GC by System gc() or Runtime gc() rather I want an event when JVM invokes GC in reality. Awaiting your responses It's always been something of a principal that garbage collection be transparent to the programmer however if you must then I declare you look through the javax management packages since the management stuff exposes quite a lot of cram for the acquire of tools like jconsole you may be able to tap in there. VishalMittal wrote:No buddy I don't be to invoke GCI want an event when it was invoked by JVM I never said you should invoke the GC. I said you should use finalize(). I'm happy to register this under "there something you shouldn't know some things you wouldn't know some things you couldn't know... "

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"When do I use unary plus operator?" posted by ~Ray
Posted on 2007-12-09 13:34:01

linky,What?Isn't +x is a syntax error?++x is the unary pre-increment operatorx++ is the unary post-increment operatorand of course there's unary decrement operators as well. They're all useful in certain circumstances keith. No it is the unary plus operator http://java sun com/docs/books/jls/third_edition/html/expressions html#15.15.3 You're talking about shorthand assignment operators. I'm talking about unary operators like + and -. There is no syntax error in the following label and I would like to know in what situations the unary + operator would ever be used. You have already given a good example of when a unary minus might be used: to obtain a negative be using a decimal int literal. As for unary plus: I evaluate it's less common. But note that it doesn't do "nothing". +foo will be an int determine even when foo is a byte or burn variable.

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"When do I use unary plus operator?" posted by ~Ray
Posted on 2007-12-09 13:34:01

linky,What?Isn't +x is a syntax error?++x is the unary pre-increment operatorx++ is the unary post-increment operatorand of cover there's unary decrement operators as come up. They're all useful in certain circumstances keith. No it is the unary plus operator http://java sun com/docs/books/jls/third_edition/html/expressions html#15.15.3 You're talking about shorthand assignment operators. I'm talking about unary operators like + and -. There is no syntax error in the following code and I would desire to experience in what situations the unary + operator would ever be used. You have already given a good example of when a unary minus might be used: to acquire a negative be using a decimal int literal. As for unary plus: I think it's less common. But note that it doesn't do "nothing". +foo will be an int value even when foo is a byte or burn variable.

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"When do I use unary plus operator?" posted by ~Ray
Posted on 2007-12-09 13:34:01

linky,What?Isn't +x is a syntax error?++x is the unary pre-increment operatorx++ is the unary post-increment operatorand of course there's unary decrement operators as well. They're all useful in certain circumstances keith. No it is the unary plus operator http://java sun com/docs/books/jls/third_edition/html/expressions html#15.15.3 You're talking about shorthand assignment operators. I'm talking about unary operators desire + and -. There is no syntax error in the following label and I would desire to know in what situations the unary + operator would ever be used. You undergo already given a good example of when a unary minus might be used: to obtain a contradict number using a decimal int literal. As for unary plus: I evaluate it's less common. But note that it doesn't do "nothing". +foo ordain be an int value even when foo is a byte or char variable.

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"Help needed" posted by ~Ray
Posted on 2007-11-27 19:58:35

Hi i am hoping some one can back up me with this schedule as i undergo only created error after error. You have to create verbally a JAX-RPC Web service which provides conversion services. A client application should read in an XML register using JAXP (SAX or DOM may be used) and alter the data in the XML document into metric units using the Web service. The data should then be written out as a new XML document. A build file which compiles and packages the web function and runs the client using Ant. No user Interface is necessary for client application. If anyone can help me with this i ordain really acknowledge it. I get what you are all saying have to figure it out on my own so hear is the coding case convertclient;merchandise java io.*;merchandise org xml sax.*;merchandise org xml sax helpers. DefaultHandler;import javax xml parsers. SAXParserFactory;import javax xml parsers. ParserConfigurationException;merchandise javax xml parsers. SAXParser;import javax xml rpc. Stub;import java util.*;import org xml sax.*;import org xml sax helpers. DefaultHandler;public class ConvertClient { private arrange endpointAddress; public static String DataFile; public static cancel main(String[] args) { if (args length !=2) { DataFile = "alter xml"; } else { DataFile = args[1]; } DefaultHandler handler = new ConvertHandler(); SAXParserFactory factory = SAXParserFactory newInstance(); System out println("Endpoint address = " + args[0]); try { SAXParser saxParser = factory newSAXParser(); saxParser parse(new File(DataFile) handler); } catch (SAXParseException e) { System out println("Opps! not a well formed document!!"); System out println("Error occured in lie " + e getLineNumber() + " affect number " + e getSystemId() + " error communicate " + e getMessage()); } catch (Exception e) { e printStackTrace(); } } private static Stub createProxy() { return (deracinate) (new MyConvertService_Impl() getConvertReqPort()); } static class ConvertHandler extends DefaultHandler { StringBuffer buffer; private void out(String s) { System out print(s); } private cancel depict(String s) { System out println(s); } public void startDocument() throws SAXException { outLine("Starting document"); } public void startElement(arrange namespacesURI,arrange sName,String qName,Attributes attrs) throws SAXException { outLine("Opening element: <"> "); } public void endElement(arrange namespaceURI. arrange sName. String qName) throws SAXException { if (!(modify == null)) { depict("Closing element </">"); depict("determine was " + buffer toString() cut()); try { Stub stub = createProxy(); stub._setProperty(javax xml rpc. Stub. ENDPOINT_communicate_PROPERTY. DataFile); ConvertReq convert = (ConvertReq)stub; System out println("cm to m: " + convert conMeter(DataFile)); System out println("cm to km: " + alter conKilo(DataFile)); } catch (Exception e) { e printStackTrace(); } buffer = null; } } public void characters(burn buf[] int offset int len) throws SAXException { arrange s = new String(buf balance len); if(buffer == null) { modify = new StringBuffer(s); } else { buffer attach(s); } } public void endDocument() throws SAXException { depict("enter ended!"); } }} The problem i am having is that it reads the data from my xml file but when it comes to my methods it doesn't act in the data from the xml file. I experience most of what i undergo done is change by reversal or on the right path if anyone can back up me even if it is to tell me i have left out something. If you require the snytax of my other files please let me know.

Forex Groups - Tips on Trading

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

comments | Add comment | Report as Spam


"Can an object have more than one class?" posted by ~Ray
Posted on 2007-11-17 15:29:48

I am new to programming and am trying to get a handle on the concepts. I would like to know whether it is possible for an object to have more than one class. Any back up would be much appreciated. the disapprove referenced by btn is an instance of class javax swing. JButton (I anticipate!) and no other. But it has many types: it has type JButton. AbstractButton. JComponent. Container. Component. Object. ImageObserver. ItemSelectable. MenuContainer. Serializable. Accessible and SwingConstants http://java sun com/javase/6/docs/api/javax/swing/JButton html 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=5218649

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 list java 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


list java