| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> Hello, How can I notify only one view in a MVC ? I only can do notifyObservers() but I want to notify only one of the view.... I have to create another Controleur for this view ? <1> well that seems odd <1> let the view decide if it wants to listen to changes and do something with it <1> why wouldn't you want the view to reflect the changes in the model anyway? <1> if you don't then the view is out of synch with the model <0> I have two player, anyone of this player have a JList with word and player one play end his turn and afeter the player two played....so I don't want the both score to be update twice <0> it's a boggle game and the problem came when 2 player in local....I only want to update one view at the time. i gonna do a big if to arrange that but that **** ! <1> why not unregister the view? <1> or make the view check which player is playing <1> if other player, then don't update the view <1> be creative <0> yeah but i don't want to have scrap code! I want to be clear...that's **** that you can't do notifyObservers(view,obj) <1> thats not scrap code <1> and it doesn't **** because thats how the mvc concept works <0> not scrap but not ***y :0 <1> you have observables and observers
<1> if the observerble changes then all observers need to be notified <1> wether the observer does something with it is up to the observer itself <0> yeah but when you have many many view the "structure" of the programs gone wild <1> anyways, i'm gone <0> too late but, thx ;) <2> hi smsie <3> how can i change the name of an application in proccess tab from task manager?? <2> you can't afaik <2> once the process is started you can't rename it it <3> i want to edit a proccess, that when it is running to run in proccess tab with a name specified by me <2> well the process name matches the filename <3> no <2> ? <3> there are some .exe that if uou change their names, their names from the proccess tab once you open them iy changes alos <3> also <3> but i want a program, it doesn't matter it's name, to be shoed in proccess tab with a name that i specify <2> i thought that was what i said ? <2> i don't think i understabd the problem <3> ok <4> question. would j2ee be best used for, for example a java application that connects to a website to see that it is alive <5> silv13: answer. what are, you for example asking <6> Anyone want to talk about java/ <6> ? <7> why and when should i use Dyanmic Method Dispacth <8> hy guys <8> how should i get an event for a button with a icon(no text), how to get the event's name, or source...should i create hash'es ? <9> hey I'm new to java... you see Im using some kind of enterpeter called Mobile BASIC, simply translates java to basic and back... I'm trying to make a mobile application but when I try do download the app to the phone it says "can't be found" and on another phone it says "Invalid program" any ide why? is there some way of specifing what phone the game are to be used for in the java code?... <10> Alfei: no clue about j2me. what i have seen over the years looks like a horrible mess. easily worse than java applets. <9> hmm.. know of any other way to make a cell phone program? that would work? <10> no. i think you are best of using the proprietary crap that the vendors provide for their ****ed up phone bull****. <10> and that probably means "no BASIC here, dude". <10> off, rather <11> Well.. I've played with j2me on Netbeans every now and then and for very common programs their mobile extentions are really helpfull. <10> i remember them boasting that they cover the gaps between phone implementations somehow with the netbeans mobile stuff. <11> you can easily develop, test, debug and deploy (almost, I made my own extention for it) your software. Its almost as easy as building a gui. <12> Off to Office <13> Can anyone tell me how I can get Eclipse to locate the source code of my compiled JSP files? <10> dramman: no clue <13> ...If I get an exception while running a JSP, I get a line number and need to manually locate and open the file in the deploy directory. <10> dramman: excellent, welcome to the wonderful world of jsp. <13> Surely there must be some way of configuring a project in Eclipse so that it knows where to find the compiled JSPs? <13> ...you can set a break-point in a JSP file (and it will work correctly when you run), but you can't get the console to link with the source... <10> dramman: maybe the people in freenode's #eclipse know how to achieve that. <14> dramman: the JSP stuff in a jar? <15> hi people <15> i have a question about getting a jar file to run on linux <15> 00000000 00000000 0 I start off with this , just to see if my java enviroment is setup properely <16> .... <16> what? <10> linbox: what does "00000000 00000000 0" mean? <15> excuse the 000000 <10> good approach on checking if there's the correct and proper java installed though. <15> I start off with this , just to see if my java enviroment is setup properely <15> if it is not , I expect java to complain about its setup only <16> started off with WHAT? <15> I do this because I dont know anything about java <16> um <16> you haven't said what the "this" is <10> linbox: maybe your paste is too long to make it here. that happens. instead post to pastebin.com or so. <16> and you should probably be looking at the java tutorial, which walks you through environment verification <15> I have just installed everything and ubuntu has done all the configuration for me
<17> he's not pasting anything. all he's saying is that he's got a jar file that he wants to run <15> root@ubuntu:~# java -jar HelloWorld.jar <15> then i get Failed to load Main-Cl*** manifest attribute from HelloWorld.jar <15> no matter what i do i get this <18> java -jar HelloWorld <16> do you have HelloWorld.jar? <18> ? <10> linbox: maybe there is no proper manifest in that jar file. <18> lol better <15> i try a different jar file just in case the problem is with helloworld.jar <14> how did you create the jar file? <15> the manefst file is complete as far as i can tell <10> linbox: BEGINNERSBIBLES Download these two bibles (free of charge): 1) Sun Java Tutorial (http://java.sun.com/docs/books/tutorial/) 2) Bruce Eckel's "Thinking in Java" (http://www.bruceeckel.com/) <16> do.. you... have... HelloWorld.jar? <10> linbox: you must be wrong. <16> I'll type really slowly so you have a chance to answer yes or no <10> C:\desktop>java -jar missing.jar <10> Unable to access jarfile missing.jar <10> i agree on giving an answer though, of course. <15> sorry the name of the file is jarnal.jar <16> linbox: if you want help, answer, please <15> yes i have helloworld.jar <16> linbox: okay. Did you build it or did someone else? <15> it came with openoffice <16> well, what does java -version tell you <15> 1.4.2 <16> then the problem's probably with the helloworld.jar <15> yes i thought that at first <10> linbox: do no post excerpts. copy and paste the full output, to pastebin.com, please. <10> linbox: that is relevant because open source ****wit java fakes spit out "1.4.2" too. <15> ok its running from a debian based system <17> that is not relevant <15> how??? <17> the java system can come in many different colors and shapes <15> ok but its an open source version <10> linbox: do no post excerpts. copy and paste the full output, to pastebin.com, please: java -version <17> type java -version and c/p the output to pastebin.com <15> i am on a xp box at the mo <10> come back when you have access to the debian box. <15> ha ha <10> remote debugging while not having access to the hardware with the problem is a bit much to ask for. <15> i have saved the output to a text file and i have it here now <14> paste it to pastebin then! <15> what all of it <14> whatever "java -version" outputs <11> linbox: if you're running the 'native' java client which came with ubuntu (kaffe) then that is likely the problem. <14> pastebin.com <15> ok if it helps <10> go, linbox, go, you can do it <10> let's give him an applause people, let's motivate him to actually do what we suggest <11> Clackwell: carefull, you might just distract him <15> i dont know what pastebin is <10> linbox: http://pastebin.com <15> ok ok <11> Clackwell: actually it will clearly tell you that its not the original one. <10> Lion-O: you mean not sun java? the output with regards to the Main-Cl*** attribute looked like from sun. <10> no idea what gcj and the other crap spits out in that case, though. <10> last i recall gcj didn't have support for -jar or so ;) <15> its the gnu version of java <11> Clackwell: no, with regards to the -version approach.. The 2nd line and up give you a good hint.. As to the Main-Cl*** thing; yeah, thats the same but the exceptions aren't. <10> linbox: that's not what we asked for. we asked you to pastebin the output. <15> did u get that pastebin stuff <10> try not to short cut, it doesn't help. <11> linbox: Then I'd advice you to goto http://java.sun.com and get the native Linux jdk. <14> linbox: you have to tell us the URL! <10> linbox: you have posted a link to your pastebin.com url? <14> there's more than you pasting stuff <15> is this it http://pastebin.com/639829
Return to
#java or Go to some related
logs:
perl netfilter_queue #c++ #c++ #linux #skype #AllNiteCafe #skype sendmail unreachable linux fc3 #linuxhelp c++ SPI_SETMOUSE
|
|