| |
| |
| |
|
Page: 1 2
Comments:
<0> Better Faster Lighter Java <1> ah, yes, I read "Spring: A Developer's Notebook" <0> AKA "move to ruby" <2> wlfshmn: Some chapters on amazon look intruiging indeed <1> I think I might own better faster lighter java, but I havn't read it <0> Basically Tate drank the koolaid and appointed himself the ruby evangelist <1> Lion-O: Yeah. The book isn't earthshattering, but it has lots and lots of explanations to odities and special cases where I atleast went "Oh, so -that- is why..." <1> I see he has written atleast one Ruby book as well ;) <2> wlfshmn: *nod*. I like the static method factory opening 8) <3> does it matter if a factory is static or not <3> i usually make all of my factories static, and call Factory.getInstance() <3> is that retarded of me
<1> whodis: some factories need to be configured <0> whodis: no <0> wlfshmn: that allows configuration... <0> that's the SPI pattern <1> jottinger: oh? <0> wlfshmn: I use that pattern all the time <4> hello <3> jottinger: so you are saying bottom line, if a DB you are talking to doesn't support TX, then CMT isn't going to help you when you talk to that DB? <4> if C extends A, why can't we use A() in the constructor of C? using A() gives a compiler error <4> I have to use super() <4> is it because A.cl*** doesn't exist yet? <3> disproportio: there is no reason you can't put a reference to A inside C() <4> well i used A() within C() and i get a compiler error saying it cannot find the symbol <3> make sure your cl***path settings are correct <0> whodis: that's correct <0> (re: your CMT question) <4> hmh <4> but A and C are on the same java file <4> is the compiler being too strict? <5> With a BorderLayout, can you have a dragbar to adjust how much space CENTER and SOUTH use, or so you need to put both those components into another component? <6> eka_mak_loko: please stop that. <7> WHat would be a good approach to make something like this in java -- I'm talking about the "All Day Events" list: http://www.mozilla.org/projects/calendar/images/sunbird-day-view.png <7> I've tried using a GridBagLayout to create this: http://asklandd.dk/tmp/cal.jpg but it's quite difficult to maintain and unflexible. <7> Also, I can't find a way to draw a Border around an entire day's row of components. <2> Zta: a good approach? Too many options for that, absolutelayout might be nice. <7> Any approach with a LayoutManager that actually exists? <2> absolutelayout exists. <2> Zta: if you don't know your stuff then I'd suggest not even trying to take this on. <8> hi <2> Nice tutorial-like page on layout managers: http://mindprod.com/jgloss/layout.html <2> Heck, even SpringLayout comes to mind. <8> this give me an wered error <8> JDialog dialog=new JDialog(null,"username si conferinta",true); <8> that line <2> crestinu: it would be nice to know the error :P But I'd check this in the API docs, then you'll see if such a constructor exists. <8> reference to Jdialog is ambigouse <8> bouth java.awt.dialog and javax.swong.jdialog <2> crestinu: well, from what I see it needs either a Dialog or Frame. I don't think 'null' will do there. <8> i see <8> ty <2> But I'm not too sure about that. Still, without the exact error I can only guess. <8> anather quest plsz <8> my dialog appers minmaized <8> how could i set a jdialogs size
<8> plsz <1> uhm... <1> I google for "org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getStringInitParameter" and google wonders if I ment "org.apache.myfaces.shared_tomahawk.config.Myfaceisonfire getStringInitParameter" <1> err, no google, all is fine, and my face is -not- on fire.. <8> i want to do a customizable dialog <8> a login dialog <8> i have winxp <8> and jframe and jdialog doesn't appera at its size <8> i have to adjust them manualy <8> every time when i'm lunching my app <9> hi <3> are ejbLoad() / ejbStore() ever called if your bean is deployed as BMP ? <10> yes, a quick google would of told u that <10> e.g. http://www.jguru.com/faq/view.jsp?EID=1090 <3> ha <3> sorry <3> i meant CMP <3> i know they are always called for BMP <10> yes the container will call them (or should anyway) <10> "The ejbLoad( ) and ejbStore( ) methods are typically called just before a transaction begins and when a transaction is about to commit" <10> basically the CMP container does the hard work for u <10> but you're able to get in a few commands before storing/loading if necessary <10> but generally u just leave the implementations blank <3> cool thanx <3> is it possible in java to create a sort of "mouse monitor" that recorded mouse clicks that occured outside of the application? <11> anyone have experience developing servers? I plan on developing a server that works with the flash xmlsocket to develop a whiteboard <11> i just wanted some information that I may not already know relating to this task..I've developer client/server apps before with other languages, but nothing quite like this, however I feel it is the same and fairly simple, however I'm not sure about what to consider in terms of the threading for different users, etc <2> whodis: I doubt it. <3> yeah, that's what i figured <2> whodis: because what you're thinking about happens on OS level, so you'd need to intercept the actual interrupts in order to notice those clicks. <3> right, i know its java blasphemy in terms of portibility <2> whodis: blasphemy? I don't think so. Most likely a limitation, but thats boils down to the old "right tool for the job" approach. <3> well usually you aren't suppose to develop platform-dependant code with java, i.e. native libraries and the like <3> but i agree, i fear i may have to resort to c <2> whodis: aah, indeed, now I see what you mean. Well, in this case your limitation is with the VM. Its still but a program running on top of the OS. <12> whodis : actually there might java packages allowing that <2> kmh: I somewhat doubt that :P <12> whodis : by now there a quite some java packages giving os independent system access to devices <12> Lion-O : i'm not so sure <2> kmh: true. Which are active then the program is active. <12> Lion-O : well no need the program to run if you do anything <2> 'when' the program :P But as soon as your program loses focus in Windows it becomes a little harder for the JVM to influence your OS. <12> Lion-O : yes <12> Lion-O : i'm just saying before giving up it might be worth to check out those special packages in detail <12> also stuff for games in java and such <11> does anyone have experience with writing a server <6> describe the problem? <11> im just loading my guns so to speak <11> i have written client/server apps before in other languages but i want to write a server for use with flash xmlsockets <11> the only concern i have with this is handling the userload <11> im just unsure of how to make this so its fast to handle a large number of users <11> any ideas? <6> mr. patient <2> he needs it now ;) <3> i thought if you used a signed applet you could override security, but i am getting a java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException when i try to have javascript call a method in my applet that calls out to another website
Return to
#java or Go to some related
logs:
#linux #linuxhelp #linuxhelp #MissKitten scp bshrc problem pantherebel #javascript zymmy
#AllNiteCafe #AllNiteCafe
|
|