754 Posted Topics
Re: So are we suppose to run your code and figure out what you haven't finished yet or what? You told us what the goal of the code is. But what does it do when you run it? What specifically do you need help with? We're not going to do your … | |
Re: looks like the class doesn't support the audio type you're loading. | |
Re: It might return an error if the result of the SELECT contained no rows, but I could be wrong. The code looks ok, I'm not sure what the problem could be. | |
Re: After reading that, I think I'm just a humble designer, though the programmer in me is disagreeing. Though at least now I know why I prefer work alone when building webpages. | |
Re: It's not really a matter which is better, but which one will land you the better job. You'll probably make more money as a JSP developer(which is what I used to do) than PHP, as I see more professional companies using Java over PHP. Companies still have a problem using … | |
Re: There are already many classes out there that can read the ID3 tag information. But as far as I'm aware, AVI files do not have 'ID3' tags as MP3s have but probably another form of metadata. Here's where I started when I wrote a library years ago for ID3. [url]http://www.id3.org/Developer_Information[/url] | |
Re: See if you can find a site which lists the challenges from the google code jam. I've done a few from their "practice" arena when it was available in 2005. I think the 2006 is going to start soon. | |
Re: use the tree model's insertNodeInto(), it should fire the appropriate events for updating the view. | |
Re: For a celeron chip, 350w will do you just fine. 400+ is often used by ppl who have dual cpu setups. | |
Re: I'm half tempted to just provided a bubble sort and let him submit that to his teacher not knowing any better.. | |
Can't seem to figure this out. [CODE] string *array; void addNodes(string names[]) { array = names; //how many elements in the array??? } [/CODE] | |
Re: Links on the web can't control what application they launch with, your OS and browser determines that. Why would you want to browse the web from one browser and launch the links in another? | |
Re: What's the trouble exactly? And please paste your code within code tags. | |
Re: There's a simple tutorial on "pagination" (results on multiple pages) on phpfreaks.com Using LIMIT makes this thing easy I think. Though thats coming from a guy who hasn't tried it yet. | |
My friend has a Gateway FX laptop or something with Vista. The right speaker stopped working (i checked all the balance settings). I've searched around for how to change the output from stereo to mono, but they all say the same thing; set it to mono (laptop output) in the … | |
Re: For starters, start your own thread and don't hijack someone else's thread. And read a tutorial on Socket classes. Sam, are you developing a Server part as well or just a client? | |
Re: pow takes doubles. Is it really so hard to search for the "Math" class in the API docs? [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html"]http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html[/URL] | |
I thought "JTree. setRootVisible(false)" would hide the root yet display its children, but it doesn't. I've even tried to expand its children but nothing shows when I hide the root. Here's the code if you need to see it. [code=java] DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Root"); JTree projectTree = new JTree(rootNode); … | |
Re: What doesn't work exactly? Is the conversion not as you intended or what? | |
Re: You added the same listener to the save button twice. | |
Re: You could do what my school did, make an ecommerce website. Frankly, I was appalled at the idea of this being my senior project (especially since I was already doing it for work), but the entire class voted on it. I personally opted for the mars rover simulation. | |
Re: If you're already comfortable using Eclipse, stick with that as it's more often used professionally than Netbeans. I, however, use Netbeans at home because I find it easier to use. | |
Re: Nobody is going to be able to help you because you made absolutely no sense. If English isn't your native language, then writing in your native tongue and using Google to translate might make it more coherent for us. Do you have any errors? What are they? Show us the … | |
I'm looking for a way to learn RPG as used on the AS400. Is there any software to emulate the machine on Windows or Mac? What tools would I use to program in RPG? | |
I'm writing an inventory program for my uncle's warehouse, which has never been counted in 20 years. (yea it's taking me a week so far and still counting parts) I want the program to be serverless and just run on his laptop (which I'm still fixing also). I thought of … | |
It's an old system of mine I haven't used in a few years. It worked fine when I stuck in the closet, but now it's being weird. Sometimes I could make it into Windows but then it'd crash; BSOD. So I threw it back into the closet for another 6 … | |
Re: Here's a good project for you to work on, a spell checker. | |
Re: Is each data chunk given a certain amount of space to be written in and just filled in with blank spaces to pad a smaller value? | |
Re: Try making your own thread saidus9, don't hijack another person's. Update to PHP5, unless you have very specific reasons for using PHP4. The following link will explain the issue: [URL="http://dev.mysql.com/doc/refman/5.0/en/old-client.html"]http://dev.mysql.com/doc/refman/5.0/en/old-client.html[/URL] @VioletSite, The error can't be related to his DB name or location because this is an authentication error. He has … | |
Re: You might have knocked the cpu loose. I'd open it back up and check every connection. Also, if that heat sink isn't sitting properly on the cpu, it could overheat very quickly. | |
Re: You can just override the paint method and call Graphics.drawImage(). This site discusses multiple methods for drawing images as backgrounds: [URL="http://stackoverflow.com/questions/299495/java-swing-how-to-add-an-image-to-a-jpanel"]http://stackoverflow.com/questions/299495/java-swing-how-to-add-an-image-to-a-jpanel[/URL] | |
Re: [QUOTE]check out what i do, string tokenizer is used to break up a string by sub strings[/QUOTE] StringTokenizer has been deprecated for years now, you should use String.split() | |
Re: NativeJ is a program that can make an exe for your jar files for Windows users | |
Re: I'm currently working on my CIS, in my last year. I chose CIS because the people from the school I talked with said it involved the most programming courses, which is all I wanted to do. Of course, after I started and found out how little math I'm required to … | |
Re: You'll get that error if it doesn't connect to the DB, has nothing to do with not finding the Driver. This is all I have to connect to my DB: Class.forName("com.mysql.jdbc.Driver").newInstance(); String url = "jdbc:mysql://"+host; connection = DriverManager.getConnection(url, user, password); | |
Re: depends on your project and which platform you're more comfortable using. Why did you post this in the Java forum? | |
Re: These are some of the most well-known tutorials for indy game developers who are just starting out with OGL. [URL]http://nehe.gamedev.net/default.asp[/URL] Aside from fundamentals strictly related to game design, I can't help you much more. I do all my game coding on Windows with DX. (although I really need to start … | |
Re: [QUOTE]Please send the new form so only any one replay this quickly[/QUOTE] That makes no sense at all. Check out xamp: [URL]http://www.apachefriends.org/en/xampp-windows.html[/URL] It's really the easiest way to get PHP and mysql running together on your machine for you to play around with. If you have a little programming background, … | |
Re: SELECT * FROM details Or, if for some reason you have to specify 'otype': SELECT * FROM detail WHERE otype = '$listoptionA' OR otype = '$listoptionB' ![]() | |
Re: Unless you explicitly set CSS to control how the control is displayed, the browser renders it its own way by default. You can set the borders, padding, and background image of a text field just as you would any other web component. Here's a nice example: [url]http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/[/url] ![]() | |
Re: Do you have a doctype set in your html? | |
Re: Trust me, there's still plenty need for web designers. I've worked on a large ecommerce site and I've never seen a template that would have satisfied our needs. Not too mention keeping with the company color scheme and all the behind-the-scenes work it takes to make the layout functional. It … | |
Re: convert html to php: (pointless) <? echo "html file's code here"; ?> If all those different scripts could be converted to each other perfectly, then there wouldn't be so many different types. | |
Re: I don't really play with flash, but it sounds like that Shockwave file is trying to access data on another domain. The crossdomain.xml file can possibly take care of this, (uploaded into your root directory) which it doesn't appear you have one. Give these links a read, should help out. … ![]() | |
Re: From Windows, usually hitting TAB will change focus between components. If you must use the arrow keys, you could add a KeyListener which changes the focus to the button components. I would probably make a new class and extend the JOptionPane | |
Re: it would be too slow with basic anyway. Its a combination of C, assembly/machine code. | |
Re: research "Hough Transform". just try searching for "circle detection" on google | |
I need to make my popup class observable and the main frame class observer. When the user clicks the ok button on the popup, I need the string from the popup's textfield returned to my main program. Main fram class. [CODE] import javax.swing.*; import java.util.*; import java.awt.*; import java.awt.event.*; public … |
The End.