3,927 Posted Topics

Member Avatar for sitie_aniem

This is your third post asking for these definitions of basic technical terms. Are you completely inept at searching on your own or are you just too lazy to do the job? It's a freaking keyboard. Why would you even put that in a manual at all? That's like defining …

Member Avatar for happygeek
0
94
Member Avatar for Philip435

Move the validate() call down after you add the "Game" component[code] c.add(Game, BorderLayout.CENTER); c.validate();[/code]

Member Avatar for Ezzaral
0
116
Member Avatar for SergioEspaillat

You can go up to nearly 4GB with the 32-bit, so you still have room to nearly double your current ram before you would need 64-bit addressing.

Member Avatar for jbennet
0
369
Member Avatar for endurando

[url]http://www.daniweb.com/search/search.php?q=Final+Year+Project[/url]

Member Avatar for Nick Evan
-8
484
Member Avatar for glenlivet

You're adding your components to the frame content pane itself - not the JPanel that you're constructing. So you end up with an empty panel plus your splitpane. You just need alter two lines to fix that[code] frame = iframe; // you want to set the panel layout and pass …

Member Avatar for glenlivet
0
187
Member Avatar for new_2_java

Sure, you can return any int you want from System.exit() and the convention is that a non-zero value is abnormal termination. You can return a specific int for any condition you wish to pass back to the script and report the specific problems or take further action based on that …

Member Avatar for pbHINF
0
832
Member Avatar for thinkersgroup

Perhaps the OP means "cute" girl? That 'e' can make a lot of difference :)

Member Avatar for diafol
-5
110
Member Avatar for tnccjavaMatt

If you need to retrieve info about the columns in the result set, you can get that with [URL="http://java.sun.com/javase/6/docs/api/java/sql/ResultSet.html#getMetaData()"]ResultSet.getMetaData()[/URL]. The simpler way would be to just loop the result and append your column values with the [iCODE]String.valueOf( rs.getObject(index) )[/iCODE] with whatever delimiter you want to use.

Member Avatar for tnccjavaMatt
0
883
Member Avatar for Beasts

What you describe sounds like it should work just fine. Perhaps you have a bug in adding to your x position or you are re-declaring x to be zero each iteration? Hard to say without code.

Member Avatar for Ezzaral
0
101
Member Avatar for Clawsy

It is most likely a focus issue. Read the tutorial on writing key listeners: [url]http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html[/url] If you need to respond to specific keys being typed, it's usually easier to use a [URL="http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html"]key binding[/URL] instead of a key listener.

Member Avatar for Clawsy
0
443
Member Avatar for japhabelx
Re: HELP

I'd recommend reading this: [url]http://www.daniweb.com/forums/announcement9-2.html[/url] Begin outlining the logic of the program enough to ask specific questions.

Member Avatar for Ezzaral
-1
128
Member Avatar for rhodge09

Yes, I would imagine that your college would prefer that you at least did a little work on it yourself. They probably have some policies about that. Edit: Hmm, yeah, they do: [url]http://ctech.smccme.edu/Policies.html#Academic_Honesty_and_Plagiarism_[/url]

Member Avatar for rhodge09
0
305
Member Avatar for nevets04

I've used the Netbeans GUI builder for years and I don't know what you're referring to. Perhaps if you could be more specific someone could offer advice?

Member Avatar for Ezzaral
0
85
Member Avatar for kenji

I would guess that you might be declaring a local "exit" button variable and adding that to the container, instead of the one that you have declared at the class level. I can't really say for certain with just the excepts that you posted.

Member Avatar for Ezzaral
0
87
Member Avatar for COKEDUDE

[CODE]booster1 = numBoxes.BandBooster(name);[/CODE]is not valid and will not compile. You need to updateSales() for "booster1", which you have a method for.

Member Avatar for Ezzaral
0
354
Member Avatar for Phaelax

The api doc on getElementsByTagName states that it [QUOTE]Returns a NodeList of all descendant Elements with a given tag name, in document order. [/QUOTE]So yes, you should be able to pair them directly. On the second question, you say the sax parser is dying on an out of memory or …

Member Avatar for Phaelax
0
138
Member Avatar for ZoomZoom

[QUOTE=mobmgg;1065411]convert for loop to a while loop for count= 1 to 50 display count End for[/QUOTE] [CODE]while (notPayingAttentionToTheRules) { ignore(); }[/CODE] Start a new thread if you have a question. Show some effort if you would like assistance.

Member Avatar for Ezzaral
0
1K
Member Avatar for samarudge

That error message should contain a little more information at the end. They are appending the string description on that line. If you want more info than that, add an "e2.printStackTrace()" in the catch block. The app might need the images in the jar file. Open up the original jar …

Member Avatar for samarudge
0
127
Member Avatar for clogz14

Happygeek already pointed out our acceptable use policy in your other thread. Deletion of forum content is not merely a matter of request. Once you posted the information in publicly available forum, it became non-private by your own choice. Edit: Cross-post with jbennet. Sorry for any confusion.

Member Avatar for Ezzaral
0
317
Member Avatar for RichardCrickets

You need to add the jar files for those libraries to your project properties. In the Project Propteries window, select Libraries and add those jars in the Compile section.

Member Avatar for Ezzaral
0
1K
Member Avatar for kpcorp

Hmm, I thought the genius bar was set a little higher. Read carefully the API doc on [URL="http://java.sun.com/javase/6/docs/api/java/util/Scanner.html#hasNext()"]hasNext()[/URL], especially the part about not advancing. Once you actually get the token, you want to compare that with "input", not the scanner "mob". Also, for future reference, don't create multiple threads for …

Member Avatar for Ezzaral
0
102
Member Avatar for hailpam

You mentioned the OpenOffice API above. Have you tried that? I know they have a java-based API for automation, but I haven't used it personally.

Member Avatar for hailpam
0
194
Member Avatar for aslamali

This is the Introductions forum - not the "Give me teh projectz" forum. Closing.

Member Avatar for Ezzaral
0
232
Member Avatar for ramjeev

[QUOTE=ramjeev;1062750]Thanks masijade.Still,not clear about this. Say,test is a class which doesn't hav any parents.In such a case,why should i go specifically for runnable implementation instead Thread inherit.Pls,let me explain,the advantage of using runnable.[/QUOTE] If there isn't any behavior of Thread that you need to alter by subclassing, why [I]would[/I] you …

Member Avatar for ramjeev
0
152
Member Avatar for karthik bhaskar

Write code to parse [URL="http://www.google.com/search?q=site%3Adaniweb.com+final+project"]this data[/URL] and make a selection.

Member Avatar for ithelp
-1
95
Member Avatar for Perveance

Take a look at [URL="http://java.sun.com/javase/6/docs/api/java/awt/GraphicsEnvironment.html"]GraphicsEnvironment[/URL] and [URL="http://java.sun.com/javase/6/docs/api/java/awt/GraphicsDevice.html"]GraphicsDevice[/URL]. [URL="http://java.sun.com/javase/6/docs/api/java/awt/Toolkit.html"]Toolkit[/URL] has some limited info as well.

Member Avatar for Ezzaral
0
53
Member Avatar for denni2727

Start with the Sun tutorial on printing: [url]http://java.sun.com/docs/books/tutorial/2d/printing/index.html[/url]

Member Avatar for Ezzaral
0
145
Member Avatar for jko2326

I don't know. Why don't you add a few more println() statements to see how far you're getting in the program and where it's breaking down? At the very least, post what you suspect the problem is. Help people help you instead of just asking "why doesn't this work".

Member Avatar for Ezzaral
0
101
Member Avatar for Web_Sailor

You could use something like this for your listener[CODE]ActionListener radioListener = new ActionListener() { public void actionPerformed(ActionEvent e) { JRadioButton clickedButton = (JRadioButton)e.getSource(); clickedButton.setBackground(Color.RED); if (clickedButton.isSelected()) { for (Enumeration<AbstractButton> buttons = bGroup.getElements(); buttons.hasMoreElements();) { AbstractButton b = buttons.nextElement(); if (b != clickedButton) { b.setEnabled(false); } } } } };[/CODE]

Member Avatar for Ezzaral
0
901
Member Avatar for RichardCrickets

Here you have declared the type and size of the array[CODE]MovingPlatform[] platforms; platforms = new MovingPlatform[1];[/CODE]but you must still create an instance of each element[CODE]platforms[0] = new MovingPlatform();[/CODE]

Member Avatar for RichardCrickets
0
103
Member Avatar for Tahseen79

Closing this thread since you already started a new thread with additional information here: [url]http://www.daniweb.com/forums/thread242344.html[/url] Please do not create multiple threads for a single question.

Member Avatar for Ezzaral
0
154
Member Avatar for aBenjamin

The problem is that all of that code is executing on (and holding up) the event queue, which is also responsible for repainting. You need to split that code off into a separate thread that calls for repaint() on the event queue when needed with [iCODE]EventQueue.invokeLater(Runnable)[/iCODE].

Member Avatar for Ezzaral
0
2K
Member Avatar for prakashmishra84

Then it seems you are incapable of performing that job and another should be hired to do it instead.

Member Avatar for vyas lal yadav
0
146
Member Avatar for Ene Uran
Member Avatar for adams161

The code fragment that you posted would only result in a single instance of the panel and should behave exactly as you want it to. The part I don't follow is that you say the panel is a class member of the frame, but you are making a [iCODE]frame.add()[/iCODE] call. …

Member Avatar for adams161
0
105
Member Avatar for Stefano Mtangoo

Did you change the [iCODE]=="n"[/iCODE] to [iCODE]equals("n")[/iCODE] as Sciwizeh mentioned?

Member Avatar for Stefano Mtangoo
-1
327
Member Avatar for Stefano Mtangoo

It looks like you can download the Java SE tutorial from Sun here: [url]https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=tutorial-2009_09_23-oth-JPR@CDS-CDS_Developer[/url]

Member Avatar for Stefano Mtangoo
1
179
Member Avatar for lllllIllIlllI

I would guess you are getting auto-banned for one of the user modes the mibbit client is setting. [icode]+iwx = invisible, see wallusers, hide host[/icode]

Member Avatar for The Dude
0
1K
Member Avatar for jko2326

The code you posted won't compile - improper structure - which will certainly affect the visibility of those buttons. You also haven't set [iCODE]howMany[/iCODE] to any value.

Member Avatar for Ezzaral
0
79
Member Avatar for arifihsan

Tutorial here: [url]http://java.sun.com/docs/books/tutorial/essential/regex/index.html[/url] Pattern usage info here: [url]http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html[/url]

Member Avatar for Ezzaral
0
27
Member Avatar for Ancient Dragon

I have a free upgrade coming from PC purchase as well, but I think I may wait a few more months.

Member Avatar for vegaseat
1
426
Member Avatar for jephthah

She's still about. Just a couple of days ago she popped in for this post in classic form: [url]http://www.daniweb.com/forums/post1047754.html#post1047754[/url]

Member Avatar for The Dude
2
160
Member Avatar for hdurina

Well, if you have a static IP address with a registered domain, he could have obtained it from domain registry look up. Though this really has no relation to Java at all.

Member Avatar for The Dude
-1
585
Member Avatar for StarZ

Have you even bothered to start writing a "Friend" class yet? Started with a basic input loop perhaps? Or are you just sitting there waiting on someone to write all of this for you? Your first post said it was urgent, yet 2 days later you haven't started? You may …

Member Avatar for P00dle
-3
107
Member Avatar for c.pentasuglia

It may be the "look and feel" you're using. The "Windows" L&F doesn't show the background color except for a tiny strip along the edge of the border, but "WindowsClassic" does show the background color.[code] try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel"); } catch (Exception ex) { ex.printStackTrace(); }[/code]

Member Avatar for Ezzaral
0
113
Member Avatar for JulzO

Yes, you can use internal frames for that: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html[/url]

Member Avatar for Ezzaral
0
60
Member Avatar for rukshilag

Well, sounds like you need to start learning Swing: [url]http://java.sun.com/docs/books/tutorial/uiswing/index.html[/url] Post [I]specific[/I] questions when you run into difficulties. And use [noparse][CODE] [/CODE][/noparse] tags. By 15 posts, you should know this.

Member Avatar for Ezzaral
0
107
Member Avatar for TetuGal

First you need help understanding the definitions of the words "complex" and "simple" and their relationship.

Member Avatar for olab_7
4
228
Member Avatar for bobinson

Just have an int[] array variable like "selectedFares[]" that points to the correct fare array. Your stateChanged method just needs to set it when they choose one, i.e.[CODE]switch (option) { case 0: selectedFares = fare; break; case 1: selectedFares = fareo; break; ... etc }[/CODE]If your fares were in a …

Member Avatar for Ezzaral
0
88
Member Avatar for Gatayo

Ok congratulations, you've demonstrated that you can paste your homework. Do you have any specific questions? Anything at all to show that you have given this the least bit of thought?

Member Avatar for Gatayo
-1
111

The End.