3,927 Posted Topics

Member Avatar for Anil2447

Nah, how about you ask a specific question about the part you don't understand? What do you think it does?

Member Avatar for challarao
-1
105
Member Avatar for zandiago

[QUOTE=Sturm;502851]>When you steal software you are violation federal and international copyright laws. Am I supposed to care? If there's no penalty, why not?[/QUOTE]There are penalties, you have just been lucky enough not to incur them - yet. [QUOTE=Sturm;502851]>Then you are a fool. I'm a fool for actually formulated my own …

Member Avatar for jon.kiparsky
2
982
Member Avatar for glenak

It may just be a UAC thing with Win7 or Vista. Do you have administrator access on that machine?

Member Avatar for glenak
0
111
Member Avatar for nocookies92

Re-read NormR1's second question and check your code again. [QUOTE]are they connected to any components?[/QUOTE]

Member Avatar for nocookies92
0
169
Member Avatar for Sunshineserene

[QUOTE]Sadly, in this forum, we are not provided with a means of opting-out of future communication. All the 812,117 members are already locked to the mercy of a few mean guys. [/QUOTE]You can unsubscribe from a thread in your subscribed threads listing in the Control Panel. You may also chose …

Member Avatar for jon.kiparsky
1
526
Member Avatar for capsitan

Initialize wage to some value when you declare it i.e.[code]float wage = 0f;[/code]The compiler doesn't variables that may not have been assigned a value by the time they are used.

Member Avatar for tong1
0
416
Member Avatar for AhmedGhazey

You could try [URL="http://sourceforge.net/projects/wrapper/"]Java Service Wrapper[/URL] to run it as a service.

Member Avatar for Ezzaral
0
61
Member Avatar for Xufyan

Use a try-catch around the parseFloat() call and only set the object value if a valid float has been entered.

Member Avatar for group256
0
194
Member Avatar for Xufyan

Create a method in your Dimensions class to add a Dimension to the instance and return a new Dimension with the result[code]public Dimension add(Dimension d){ ... add dimensions and return the result ... }[/code]

Member Avatar for Xufyan
0
125
Member Avatar for warbird43
Member Avatar for warbird43

I ran into this before with the jdbc-odbc bridge and Access. You can only read from each field of the current row one time. If you try to read it again it throws an exception. I have no idea why and it's irritating. So if you need to capture that …

Member Avatar for warbird43
0
107
Member Avatar for yammy
Member Avatar for sellinageorge
0
59
Member Avatar for nssltd

You need to install the "Java Web and EE" components in Netbeans, or the [URL="http://www.oracle.com/technetwork/java/javaee/downloads/index-jsp-140710.html"]Java EE SDK[/URL]

Member Avatar for Ezzaral
0
132
Member Avatar for SBA-CDeCinko

If you want to always round [I]down[/I] to the quarter[CODE]((int)(d/.25))*.25[/CODE]If you want to round to the nearest quarter[CODE]Math.round(d/.25)*.25[/CODE]

Member Avatar for SBA-CDeCinko
0
110
Member Avatar for Chaster

If the cell renderer is making the check to determine which icon(s) to show, you can probably just call repaint() on the panel that contains the JTree.

Member Avatar for Ezzaral
0
90
Member Avatar for wayneww

What language are you using? You hijacked someone else's question about a database and I don't even know where to move this because you haven't given any context.

Member Avatar for Ezzaral
0
182
Member Avatar for Sugarskull

"thirdValue" needs to be on the left side of the assignment operator in the form [icode]variable = <expression>[/icode]

Member Avatar for Ezzaral
0
276
Member Avatar for cpeeyush1

[QUOTE=cpeeyush1;777279]i want to download some ebooks which are easily available on torrent [/QUOTE] If you can only get them on your torrent then obviously the authors have released them as free ebooks, so you're basically asking for help obtaining illegal material.

Member Avatar for makyy
0
291
Member Avatar for sakush100

That about covers it. For future reference, you can click the "Flag Bad Post" button and request the post be moved to the correct forum :)

Member Avatar for Ezzaral
0
180
Member Avatar for comcgrew
Member Avatar for GoodLuckChuck
Member Avatar for marilynne11

[QUOTE]Why resurrect a thread from 2004 just to tell us you're having problems with a web-based email service that has it's own dedicated technical support team?[/QUOTE]They use hotmail. Mull that over and see if your question resolves itself.

Member Avatar for Ezzaral
-1
224
Member Avatar for shahaz

Perhaps you should make a bit of effort on this yourself? So far all I have seen is "gimme code" posts and no code of your own.

Member Avatar for sainigks
0
143
Member Avatar for kathya
Member Avatar for piyushgt

Have you tried searching the forums yet? I think you will find enough threads on the subject.

Member Avatar for scrappedcola
0
72
Member Avatar for cpp.coder37
Member Avatar for dougancil

It depends on the situation. Posts are only deleted when they specifically violate one of the rules of the forum. In cases of sensitive or private data posted, it's usually no trouble to edit the post to make it more generic in nature. Just use the Flag Bad Post button …

Member Avatar for Ezzaral
0
74
Member Avatar for daviddoria

There is certainly no reason you couldn't set up a [URL="http://www.daniweb.com/forums/group.php"]group[/URL] and start a new project on one of the open source hosting sites like SourceForge and see how it goes.

Member Avatar for Lusiphur
5
246
Member Avatar for Ezzaral

The "Edit/Delete" button continues to cause confusion amongst users, since it doesn't actually allow them to delete the post. I believe this was on the list of things to address with the new design months ago and may have fallen off the radar.

2
120
Member Avatar for cjmartin

I only have a moment here before I head out, but two options come to mind: - Make the combo uneditable? Is the user really needing to edit entries? - Install a DocumentListener on the combo box editor component that discards the '>'

Member Avatar for cjmartin
0
146
Member Avatar for man in a can

You can simplify it just a little more with a digit character match like so[code]\d{0,15}\.\d{0,2}[/code] You might find this small regex testing form that I posted a while back helpful in tweaking patterns as you are experimenting: [url]http://www.daniweb.com/forums/post392585-8.html[/url] The numbered text fields at the bottom are the match group results …

Member Avatar for eerol
0
2K
Member Avatar for lanitooot
Member Avatar for teja_dt

Another amazing finding!!11eleventyOne! [url]http://www.hoax-slayer.com/wingdings-911.html[/url]

Member Avatar for AuburnMathTutor
1
197
Member Avatar for vaultdweller123

>Although I don't believe in superstition at all, I sometimes follow them if there's nothing at risk. Then you do believe in them. Your statement is a complete contradiction. And how many user names are needed to plug gift plants anyway?

Member Avatar for dellie
0
309
Member Avatar for ITGeEk2020
Member Avatar for vegaseat
0
462
Member Avatar for cjmartin

Switching to use keyReleased() instead of keyPressed() and consuming the key event will fix it.[code]addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent event) { fromComboBoxKeyKeyPressed(event); } });[/code][CODE]private void fromComboBoxKeyKeyPressed(KeyEvent e) { int num = fromComboBox.getItemCount(); if ((e.getKeyCode() == 51) && (e.isShiftDown())){ //use # to scroll through From dropdown if (fromComboBox.getItemAt(num - 1).equals(fromComboBox.getSelectedItem())) …

Member Avatar for cjmartin
0
214
Member Avatar for AllenB

This may be useful to you: [url]http://javabyexample.wisdomplug.com/java-concepts/34-core-java/62-java-registry-wrapper.html[/url]

Member Avatar for randyrude41
0
287
Member Avatar for shad

So start studying and working on it. That's why you're in school. If you have an [U]actual[/U] question, come back and post it here. Be sure to include what you have done so far and explain what you are having trouble with.

Member Avatar for izzatikhalid
0
202
Member Avatar for shahin_198

[QUOTE=shahin_198;690037]i need help java programming[/QUOTE] Well, perhaps you might want to post in the [URL="http://www.daniweb.com/forums/forum9.html"]Java Forum[/URL] then... in your own new thread, rather than one dragged up from years ago...

Member Avatar for peter_budo
0
139
Member Avatar for wonderland
Member Avatar for ahmadjhoney
Member Avatar for vidyaputra

Yes, Mark, your post advertising your site was deleted per forum rules against such promotion. With regards to allowing postings about piracy, no, those are not allowed either. Moderators cannot catch every single post which violates a rule and this one managed to slip under the radar back in 2009. …

Member Avatar for Ezzaral
0
202
Member Avatar for rogue005

The original question was how to pass an object to a subsequent frame. That presupposes that NewFrame is dependent upon the object, which has already been created. In your example, that does not apply. If you don't have SomeObject you need to pass along, then there is no point in …

Member Avatar for Ezzaral
0
3K
Member Avatar for The Founder
Member Avatar for Ezzaral
-5
191
Member Avatar for chaitragn

And what do you figure you are going to learn from that? Show some effort and ask specific questions if you want anyone to help you.

Member Avatar for chaitali sheth
-2
32
Member Avatar for sunil_skmd

[quote=sunil_skmd;426716]Hi, I am new to java. i want to use a switch statement on operators that are in read as strings. Like "==","!=",">=","<=". Please help me to do this as i cannot use even their ascii value of these operators to switch the cases.[/quote] Switch statements can only be used …

Member Avatar for javaAddict
0
213
Member Avatar for Rajesh.n84

[QUOTE=Rajesh.n84;570995]i nead java code to connect printer when i click print button in my developing application[/QUOTE] Then you "need read this tutorial on AWT printing" and write some: [url]http://java.sun.com/docs/books/tutorial/2d/printing/index.html[/url]

Member Avatar for Mr.Antony
0
937
Member Avatar for CheeseDonkey

It's perfectly fine to have return statements within if() blocks. The issue here is that there is not a guaranteed return path from the method. For instance, in the original code if inOrder.length is 0, there is no return. The compiler requires a valid return path regardless of any conditional …

Member Avatar for JamesCherrill
0
187
Member Avatar for sasidhar1229

You are probably getting the java.lang.NoClassDefFoundError: java/lang/StringBuilder error because you compiled the servlet under 1.5 or above and your app server is running 1.4. StringBuilder was introduced in java 1.5.

Member Avatar for Amit Tomar
0
559
Member Avatar for Ghost

Five years ago he may have found that suggestion helpful - now, not so much.

Member Avatar for rolypoly2308
0
284

The End.