IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.83 MB
Powered by
Channel Info
Network: freenodeChannel: #java |
Search in www.irclog.org
Log from #java at freenode 2006-06-28
[11:16]<-- 2yd2nzy xrs fuyv>http://iownmymusic.org/")
[11:18]<bgvyg>hi
[11:35]<afracwnff>moin
[11:37]<vnzzfzsnz>hi Clackwell
[11:37]<afracwnff>hi teraman
[11:40]<fruq>Hi! I'm trying to user java webstart for an swt app. It runs fine, but my browser always gets on top of it. Does anyone know how to get my shell on top ? Thanks
[11:45]<afracwnff>lau2: maybe request focus or something like that? it's a "first shot" issue only anyway, isn't it? after that the user has an icon for the app on the desktop or so to use.
[11:46]<fruq>Clackwell: I already tried to setVisible and setFocus. They didn't make a difference. My problem is that I know my users won't notice the app is running if it is behind the browser
[11:48]<afracwnff>lau2: setFocus and setVisible should only have effect "inside" your program itself.
[11:48]<afracwnff>wrong tools
[11:48]<rrgsq0|drfaxyc>hey gus
[11:48]<afracwnff>i don't know what else to use, but i'd look for a way for that. perhaps swt has something, afterall it's native.
[11:48]<afracwnff>hi gans
[11:49]<fruq>ok...I'll look for something else then....
[11:50]<ajvvyzznz>morning
[11:51]<afracwnff>moin joe
[11:54]<afracwnff>lau2: possibly related and possibly working for most or all platforms you are interested in: http://groups.google.com/group/comp.lang.java.gui/browse_thread/thread/8e5f892b9fc4d15/baacec4033f09386?lnk=st&q=java+application+to+front&rnum=1&hl=en#baacec4033f09386
[11:54]<afracwnff>lau2: possibly file a bug report with sun for this. SUNFEEDBACK http://java.sun.com/mail/index.html
[11:58]<fruq>Clackwell: I just found it....it was stupid of me. There are methods called forceActive() and forceFocuse() that did it. Thanks for your help!
[12:00]<afracwnff>lau2: are those in swt?
[12:00]<fruq>Clackwell: yes
[12:00]<fruq>Clackwell: I should have looked better ;)
[12:01]<afracwnff>lau2: ah, cool.
[12:10]<lagyas>I was wondering, is it possible to create a standalone .exe from a .jar?
[12:10]<lagyas>like, include the jvm in the .exe
[12:11]<afracwnff>ponijs: no need. you are overrating the qualities of having a single executable for your application.
[12:11]<afracwnff>ponijs: just provide a zip or installer and let it dump the app where the user wants it.
[12:12]<lagyas>that's bold
[12:12]<afracwnff>(like most other software, including the highly popular ones.)
[12:12]<lagyas>you don't know my circumstances :P
[12:13]<afracwnff>ponijs: i estimate that in 90% of the cases in here people are overrating it. i have a good chance of being right, at least from my perspective. :)
[12:13]<lagyas>and assume that I don't need it
[12:13]<afracwnff>ponijs: true. :)
[12:13]<vnzzfzsnz>in windows systems, you can just click the .jar , usually
[12:13]<lagyas>not if you don't have jre
[12:13]<afracwnff>ponijs: "compile to .exe" or so are the usual keywords for that kind of stuff.
[12:13]<vnzzfzsnz>also , ponijs , you could consider a web start thing.
[12:14]<vnzzfzsnz>ponijs : just point to www.java.com then.
[12:14]<lagyas>my problem is that I can't force others in the team to install JRE
[12:14]<afracwnff>ponijs: i was assuming that you include the jre in the .zip/installer file.
[12:14]<afracwnff>ponijs: we don't either, we just ship the jre in pre-installed state along with our app. like sun does with the jdk.
[12:14]<lagyas>oh
[12:15]<lagyas>that's what I wanted to know
[12:15]<afracwnff>makes for quite a bloated download, but what the heck :)
[12:15]<afracwnff>at least the app doesn't fall apart next time the user updates his globally installed jre...
[12:15]<lagyas>in this case it's not meant for public so bloat isn't an issue
[12:16]<vnzzfzsnz>or MSIE perhaps
[12:16]<afracwnff>teralaser: pah ;)
[12:16]<-- svgvsdyzgjvr xrs>/dev/null")
[12:16]<afracwnff>ponijs: ah, excellent then
[12:16]<afracwnff>ponijs: http://javafaq.mine.nu/lookup?108
[12:16]<lagyas>thanks
[12:16]<afracwnff>ponijs: possibly related: http://javafaq.mine.nu/lookup?106
[12:30]<pnvpzjrr>hello!
[12:30]<pnvpzjrr>now i am in antworld again...
[12:30]<pnvpzjrr>ant can't find scp and sshexec...
[12:31]<pnvpzjrr>the thing is - ant works on other places
[12:31]<pnvpzjrr>can i somehow echo the path ant is using?
[12:32]<afracwnff>Petfrogg: perhaps see system properties.
[12:33]<afracwnff>Petfrogg: it should be assuming that the scp and sshexec executables are in PATH.
[12:33]<zdzzd_zfzzzsjg>No.
[12:33]<afracwnff>(unless otherwise specified)
[12:33]<afracwnff>moin ricky
[12:34]<zdzzd_zfzzzsjg>ant uses jsch, which you either have to specify the location of using a <taskdef> or something, or place on the classpath when running ant.
[12:34]<zdzzd_zfzzzsjg>CLASSPATH=lib/jsch-0.1.24.jar ant deploy # works for me
[12:35]<afracwnff>ah
[12:35]<pyw->ok very bizar
[12:35]<pyw->can anybody check this for me please
[12:35]<pyw->public static void main(String[] args) {
[12:35]<pyw-> double amount = 5d;
[12:35]<pyw-> double price = 15.22d;
[12:35]<pyw-> double total = amount * price;
[12:35]<pyw-> System.out.println(total);
[12:35]<pyw-> //System.out.println(15.22 * 5);
[12:35]<pyw-> }
[12:35]<afracwnff>flood, flood!
[12:36]<lz1m9v0z>Anyay, it/opj
[12:37]<zdzzd_zfzzzsjg>Nice time for my wireless card to reset itself. ;)
[12:37]<lz1m9v0z>ricky_clarkson: I'd appreciate if you respect my /bans.
[12:38]<c2fyg>hi
[12:38]<zdzzd_zfzzzsjg>pr3d4t0r: Er, waddyamean?
[12:38]<lz1m9v0z>ricky_clarkson: Oh, never mind.
[12:38]<lz1m9v0z>ricky_clarkson: I'm just cranky.
[12:38]<zdzzd_zfzzzsjg>You thought I'd unbanned him ;)
[12:38]<lz1m9v0z>ricky_clarkson: Yeah, sorry.
[12:39]<c2fyg>I'm trying to create a socket server. should I do the binding in the constructor, or do I do that in run() ?
[12:41]<pnvpzjrr>Clackwell, ricky_clarkson: hmm does not work...
[12:41]<pnvpzjrr>cant find any path here..
[12:42]<zdzzd_zfzzzsjg>Petfrogg: How are you running it?
[12:42]<pnvpzjrr>just by running ant
[12:42]<afracwnff>Petfrogg: what do you mean by "can't find any path here" and "does not work"?
[12:42]<afracwnff>~does not work
[12:42]<rrvr2jv>Clackwell, does not work is useless. Tell us what it is, what you want it to do, and what it is doing.
[12:42]<zdzzd_zfzzzsjg>Petfrogg: READ THE FUCKING OUTPUT
[12:42]<fggmgzbggmgz>if there is no equivalent, how can i retrieve a row from a database, for example in perl "while ((@row = $sth->fetchrow_array) { print "ROW : $row[0]"; }" , can anyone do that in JDBC? tnx
[12:43]<pnvpzjrr>gonna debug so can give a better error
[12:43]<pnvpzjrr>8 )
[12:43]<zdzzd_zfzzzsjg>Petfrogg: When ant fails in this way it gives some hella-useful output.
[12:43]<zdzzd_zfzzzsjg>Petfrogg: Also the manual talks about using the optional tasks somewhat.







