| |
| |
| |
|
Page: 1 2
Comments:
<0> away <1> hi <2> hello... <2> norwegian / english ? <3> English <2> ok.. <3> keep it in the channel please. <3> I don't think that pasting half a java program in my msg window is very polite nor do I intend to pay it any attention. <2> ok <2> do u got any suggestion to how to wiev it for u? haven't used mIRC for years:S <3> just pasting code and asking "whats wrong with it" isn't very helping. Dump it somewhere on a pastebin and try asking something specific about it. <2> i got a file to send? <2> ? <4> http://rafb.net/paste <0> away
<5> can somebody help me with an actionscript problem? since it's similiar to java <6> maybe in #flash <5> they can't figure out my problem lol <5> it's a function problem <5> :/ <7> away <8> hello excuse me , im mexican <8> does any can help me in java ? <8> does any can help me in j2me ? <8> mm is this a help channel ??????? <8> mm thanks :S <9> do you have a question <9> it's a general discussion chan but help is often to be had <9> hi talios <10> 'lo <10> hows tricks? <9> sulking atm <10> how so? <9> otherwise fine <9> off to europe for 3 weeks starting fri <9> I have a usb hdd and the hardware registers and the drive shows on the device drivers <9> but the thing doesn't get a drive letter <10> not formatted? <9> am wondering if it needs a format <10> would need at least a partition <9> I guess it may be fdisk time <10> widnows would pick up the empty partition and say "hey - format this ****er" <9> no fdisk <9> it's been a long time since I was here <9> got the ****er <9> :) <9> sulk ended <9> so how are you <10> good good - getting hungry and eagerlly awaiting tonights curry :) <10> works going ok, my main projects in a bit of a dead-period post big deployment last week so taking a break and looking into JAIN/SLEE and SyncML stuff <9> enjoy the rest <9> I've been hectic which is the norm, looking forward to the rest <11> hi <11> can i add in a JToolbar anything or just buttons? <11> i am working on a code editor and i was thinking to use a toolbar for the several panels i have <11> the think is that i would need several of these panels to stack vertically <11> thing <11> it seems it works - found in manual :) <11> is NetBeans open source? <9> no idea, read the license <9> I expect not, as most sun stuff isn't <10> optocus, yes <10> NetBeans started (and remains) an open source project <11> cool <12> hi <13> hi <12> hi <14> greetings O Java gurus! :) <14> I'm wondering if anyone would be kind enough to tell me how to use javascript to round to nearest .25 ? <14> oops. <14> sorry, just noticed no javascript questions <14> sory :)
<15> salam <16> i just knew it couldn't last <15> how i can know if the resultset is empty or contain rows <17> marhaba <15> ? <15> wlfshmn :) <15> Resultsel.?; <17> although, since that pretty much exhausts my vocabulary, I suggest we continue in english <16> nah <16> go ahead <18> why do u insist in saying hello in arabic <15> ?? <18> when the topic is in english and everyone talks english in here <18> if (resultSet.hasNext) is all u need <15> why not ..?? <18> check the ResultSet API documentation. <15> ok <15> thks <18> resultSet.hasNext() I mean obviously. <15> if(resultSet.IsFrist && resultSet.IsLast) with this suggestion it's work ??? <18> that would only be used to determine if it only had 1 result in it <15> ok <19> Hello. Is this the right venue to ask some questions about a Java program I'm writing? <18> sure <19> Okay, well I'm writing this program that has to .setText some JLabels, and they won't update. I gather this is a FAQ but I can't find a solution that works. <19> I'm running in a Timer thread. I've tried putting it all in a Runnable and calling it with invokeLater, but it still doesn't work. <16> why do you need a thread? <16> besides the main thread i mean <19> because the code needs to be invoked from a Timer (to get periodic updates of the data) <16> k and doesn't work is a little generic <16> ... #java No topic is set. <19> Well, I've verified that the code is being executed, but after I do label.setText(blah); the visual representation on screen does not change to reflect the new data. <18> do u have to do a repaint or something <16> called paintComponent() ? <18> sorry but I know nothing about awt/swing gui's <16> i know very little <16> but you're on track deano <18> ain't touched it in years, been all J2EE for me for a while. <19> I tried calling label.getParent().validate() to no effect. <16> same here <16> kfx call paintComponent() on it <19> paintComponents() requires a Graphics object as an argument. <16> k <16> might wanna grab ya one of those <20> is there any way to get a java program to run as a service on a windows machine, reason being, I designed a server in Java and need it to run on the computer without anyone logged in specifically. <3> CuriousGeorg: should be more of a Windows than Java issue. <3> When you get your program to run and 'behave' like a service simply add the routine needed to start it to Windows. iow; define it as such. <21> hey guys, in an aplet how can i repaint everything but the backkground? is that possible? <16> just don't do a set on it when you override paintComponent? <21> sorry what do u mean not to do a set on it? <16> don't setBackgroundColor() <16> whatever you're using <21> well im using anti alias and the background is a rectangle <21> filled with a gradient color <21> but that delays to be repainted each time <16> JFrame? <16> err you said applet which i think JApplet extends Jframe no? <16> if it's a JFrame then you need to override paint() and when you do just don't set the background <16> ok no a JApplet extends Component so i was right the first time :) <16> ok scratch THAT <16> override paint() <21> thanx sab :) <22> salam <22> how i can know count of rows from Resultset ? <3> getFetchSize() or something similiar, consult the API docs. <22> ok <23> There isn't a method on ResultSet that will directly give you the number of results. You'll need to use an SQL count query or iterate through the ResultSet and build a count yourself. <24> How may I insert an Image(jpeg file) in my GUI <22> Resonator like : while (Rs.next) i++; <22> ?? <23> Yup, that would work - except remember the parens after next :P <22> :) <23> It would probably be more effecient to do a count query though - that would prevent the database layer from having to retrieve the values at each row iteration.
Return to
#java or Go to some related
logs:
#skype image not found for lazy pointer dyld: lazy symbol binding failed: #linuxhelp #chatzone ubuntu ethernet link settings #linux villageladies set bash: wlanconfig: command not found liba halqa Salacova_Apokalypsa21
|
|