| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> stelios2007 <0> put everything in that is important <0> if the attributes are important they need to be included.. <0> oh.. <0> so <0> if u mean do u need to include everything that JTextField includes.. <0> the answer is no <1> right <0> but if there are specific attributes <1> so i only need to include the important ones <0> attributes that are included in your pgoram <0> and must be a specific way <0> then they should be included.. <0> but theres no reason for u to explain what JPanel is in your cl*** diagram <1> okk <1> thanks
<0> and if u included all methods for JPanel etc <0> that is available.. then ud have a biiig diagram ;) <0> the main thing to keep in mind <0> is that the cl*** diagram <0> should be interpreted by an outsider <0> in the way u intended <0> so if someone made a program from that cl*** diagram they would create a program that is what u intended.. <1> and do I need to link ALL the cl***es with lines ...i.e. link A with BCD...link B with ACD, link C with ABD, link D with ABC. or can i just link A--B--C--D ? <1> right ok <0> do u got an image of this diagram? <0> that i can take a look at.. <0> u only link where there is relation <0> cl*** relations using generalization/clusters <0> and object relation using aggregation and ***ociation <1> ive used Bluej to create it...and blueJ has created lines everywhere <0> O_o <1> linking EACH cl*** with EVERY cl*** <0> :D <0> so if u have 4 cl***es each one has 3 lines? <1> wait ill just do a quick pic for u <1> raki...that diagram im sending you, that is the way it has been created for me in BlueJ <1> do i just draw it like that? <0> take a screen shot <1> but with the attriubutes/mathods <0> and upload it <0> i dont have any program to open .doc with <1> ok <1> have you got any sites that allow quick upload? <0> upload it <0> nope <0> filebucket or something <0> no idea <0> i use my ftp <1> http://www.wikiupload.com/download_page.php?id=70348 <1> thats how BlueJ has done it <1> do i need all those arrows? <1> (lines) <0> hah <0> X) <0> hmm <0> X) <0> thats a bit ****ed up my friend ;) <0> why are u doing a cl***diagram btw? <1> im doing a presentation <1> lol <1> ill just create it myself <1> forget bluej <0> well <0> since u asked about the arrows <0> u dont know how to create cl***diagram <0> u mixed methods with cl***es <0> methods are contained within the cl*** <0> productreader and writer <0> are shop cl*** methods yes? <0> or product methods? <2> hey Clackwell <3> why does each cl*** have it's own binary? <4> hallo mb, everyone <4> Journeyman: why not? <4> Journeyman: if you want them all in a single file use jar.
<3> oh <3> I am just learning I am sure it will be explained later in my studies <4> CS studies might not bother with such minute detail. <3> I just noticed it and thought it was...different <3> Clackwell: I am self-teaching <4> Journeyman: ah, ok. when every cl*** is contained in its own binary you are free to pick out out of its current context and use it whereever you want. try that with a function/cl***/method inside a shared lib, like a dll for example. <4> of course there are limits to that, like cl***es relying on other cl***es, etc. <3> everyone said it is a lot like C but I find it is more different than I thought it would be <5> amazing how many people self-learn java <0> when downcasing an array of strings, do i need to read the data into a temp string to downcase it or can i do it directly on the array? <0> :o <6> "downcast" ? <0> lowercase <6> oh, casing. yeah, there are methods for that <0> not downcase.. <6> I wouldn't bother on the array. Instead set this up the moment you load the array with the required value(s) or use this when actually using the values. <6> ymmv :) <6> Ey there Clackwell / smsie <0> this is when u load the array.. <0> =) <5> for ( String s : someArray ) { s=s.toLowerCase(); } <5> something like that anyway <0> ok <0> smsie that for loop is like normal but just goes through the set of the array from start to end? <7> Better to lowercase them as you read them in or enter them, no? <5> depends why you want them lowercased <0> gonna lowercase <0> create chararray <7> So why not ask that instead of just giving an answer? :P <0> set first letter capital <0> send back into array.. <5> maybe you're doing it because the user pressed a "lowercase these values" button or somehing <5> ? <5> that sounds like a low of work <5> lot <0> not really.. :e <0> :D <0> but the lowercase can be done while reading the inputDialog ofc.. <0> makes perfect sense.. <0> except that i created a method for formating the array.. but what the heck :/ <0> guess i would learn more from doing it all in a separate method.. <5> what exactly is the problem you're trying to solve? <0> temp[i] = JOpt.inputDialog(); format temp[] so that all strings are first letter capital like: Google, Hello world etc.. <5> okay <5> then do temp[i]=format(JOpt.inputDialog()); <5> and write a format() method like: <0> i can to temp = format(temp); just aswell though right? <5> String format(String s){String first=s.substring(0,1).toUpperCase(); String rest=s.subString(1).toLowerCase(); return first+rest; } <0> ah ok, see ur point.. <0> but i want to do it on the array not on the single string.. <0> cause i want to be able to format other data the same way.. <5> do it while reading it into the array <0> read from files etc :/ <5> ah, okay <0> so it would be neat to have a formatArray(); <7> You're not reading the file line by line? <7> open file, for each line in the file, read the line, pull out the string part you want, format(that), put formatted that into the array? <0> true.. <0> but anyway.. for learning purposes.. if i were to format the array.. <7> hehe <0> ;P <0> i tried without using a "transfer" string <0> oh <0> not at all.. <0> i have no ***ignments.. <0> unfortunately.. <7> well if it has to be done on an array... it's pretty much the same thing. <0> ay.. but do u need a transfer string <0> like <0> String temp; <0> temp = thearray[i]; <0> and then do the conversion on temp <0> and read back into thearray[i]
Return to
#java or Go to some related
logs:
dev cpp problems parsing boost GetModuleFilename C3861
duck the boom in send from php+flash #apache #linux #london #linuxhelp hung balls paviaanit runkkaa
|
|