754 Posted Topics
Re: What do you mean by cut the edges? Use the selection tool and "cut" menu option. Paste into a new image document and save. | |
Re: What do you need our help with? Finding a college you can attend? Do a google search for colleges in your area then look at their available curriculum. Do you want to do the graphics and modelling? Or do you want to do the programming? The spell casting is part … | |
Re: [code=html] <html> <head> <script language="javascript"> function checkState() { document.testform.tf1.disabled = !document.testform.tf1.disabled; } </script> </head> <body> <form name="testform"> <input name="cb1" value="test" type="checkbox" onClick="checkState()"> <input name="tf1" value="test2" type="textfield" disabled="true"> </form> </body> </html> [/code] | |
Re: I host my own but only when I need to show someone something. (using Apache) I would never leave my computer open and publicly display its address. [URL="http://www.spidahost.com/?affid=8"][COLOR=#0000ff][/COLOR][/URL] I use [url=http://www.spidahost.com/?affid=8]http://spidahost.com[/url]. It hasn't been around very long, but if I run into any problems I can usually get a hold … | |
Re: If you're the only one that needs access, I'd say put the file in a separate directory and use an htaccess file. | |
Re: Well if your ActionListener is an inner class of your frame, then 'this' will point to the ActionListener instead. What's your code look like? | |
Re: My guess is that perhaps the information used to connect to the SQL server may be incorrect, and so its not actually establishing a connection. Also, to prevent the application from quitting, wrap the while loop in a try-catch block. | |
Re: Sounds like what you need to create is a spectrograph. There's no native way in any language i know of that'll compare sound data the way you want, you'll have to write your own, which is rather math intensive. | |
![]() | Re: Most motherboards I've seen that support SATA will usually support RAID 0 and 1. Assuming the Epox mobo listed in your signature is the one you have, then yes you can do raid. The spec sheet I found online for it said is supports 0, 1, 0+1. Whether or not … |
Re: nope. But I'll link you to a free FTP library you can interface with. [URL]http://www.enterprisedt.com/downloads/ftp.html[/URL] | |
Re: Doesn't the compiler warning tell you what deprecated method you're trying to use? Or at least a line number? I'm not going to look through that spaghetti code, next time post your code inside code tags. | |
Re: I'd probably use SMF. [URL]http://www.simplemachines.org/[/URL] 1. It's not too hard as long as you can be intuitive about using a new control panel. No coding should be needed. 2. Depends on how much traffic you think the website will receive. Take a look at the various hosting packages on [URL]http://dreamhost.com/[/URL] … | |
Re: Does your Employee class contain this constructor definition? [COLOR=#0000ff]public Employee (String s)[/COLOR] ![]() | |
Re: Either use a library like FMod (only one i know off the top of my head) or write your method for extracting the data. It's not too difficult to write an ID3 tag reader, but it takes some work to support all the versions. You can also search here for … | |
Re: [quote=dowen;307436]i have try to look for sorting object using Bubble sort on the internet but couldn't , i only found insertion object[/quote] You didn't look too hard then, I searched "bubble sort" on google and oddly enough, the whole page has results for bubble sort, not insertion. First result is … | |
I'm not sure how to correct for these size difference. This is sort of my first real attempt to not use tables. [U]Borders:[/U] IE: adds border to the inside FF: adds border to the outside (making component display larger) [U]Padding:[/U] IE: adds padding inside the component. (component width of 10 … | |
Re: NT4? IE2? How old is your computer? If you just want to get your idea out and not worry about all the picky details of coding an engine, take a look at darkbasic: [URL]http://darkbasicpro.thegamecreators.com/[/URL] Since you said you were pretty good with VB, I assume you'd be able to pick … | |
Re: To put it bluntly, any website that tries to take control away from me by hiding a browser's UI, for whatever the reason, I will very quickly become annoyed and not only ignore the site but possibly tell others to avoid it. Just a thought from a general web surfer. | |
[code=java] public static final String SEPARATOR = System.getProperty("file.separator"); String code = "test.foo.bar"; String fix = code.replaceAll("\\.", SEPARATOR); [/code] I'm keep getting a StringIndexOutOfBoundsException. If I replace SEPARATOR with "[URL="http://www.daniweb.com/techtalkforums/"]\\\\[/URL]" then it'll work as I want. Is there a safe way to replace the periods with the file separator associated with … | |
Re: It is possible, and I've seen it before. But that was years ago on those big QB sites back in the 90's. qbt50.com and others. Not a clue which websites for QB are still around. But the code you want is out there. If I remember correctly, the sound drivers … | |
For awhile now, I've been using Mac to code java. Though my programs compile and run fine, I always get these errors. Using the same project to compile on windows with the same IDE(netbeans), I dont get them. I was hoping someone would be able to shed some light on … | |
Re: Your idea for a semester project would take about 2 minutes to complete and I don't see where you'd need more than one class. I know you're just a first year beginner, but choose something a little challenging at least. Mastermind game. Computer picks a random number and the player … | |
Re: [code=java] JButton startButton = new JButton("Start"); startButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { System.out.println("Click on Start"); } }); [/code] | |
Re: Check the library, I just got a book from there and so far its pretty good. "Java Threads, 3rd edition" - O'Reilly | |
I have a computer that had an Abit mobo and the controller card went out for IDE-0 channel. Replaced it with the board below. [url="http://www.newegg.com/Product/Product.asp?Item=N82E16813128307"]http://www.newegg.com/Product/Product.asp?Item=N82E16813128307[/url] I get power, lights and fans come on(including cpu fan) but no display. I've removed all non-essential piecesa and tried every ram configuration, no luck. … | |
Re: here's some pseudo-basic code. [code] cx,cy = center of circle for a = 1 to 360 step 2 x = sin(a)*radius y = cos(a)*radius line cx,cy,x,y next a [/code] | |
Re: You could also use Graphics2D and use a GradientPaint ![]() | |
Re: I use FrontPage98 still for when I need to design tables or something, but for the most part I just use good ol' notepad. I'll use HyperEdit when I'm on the Mac though. ![]() | |
Re: Some code would help us see what you're doing. (use code tags when you do) I can't see why doing anything with a JTable would affect a JDialog. | |
Re: It could just need defragged, but if this is a fresh drive then those websites just might be right. You could've bought a faulty drive. Go to the manufacturer's website and see if they have a diagnostic tool. Run it and see what kind of code you get and try … | |
Re: The charAt method returns a character and you're trying to assign it to a String variable. Fixing that should prevent the second error. You can turn a character into a string by adding a blank string with it. String s = ""+value.charAt(0); Your output still won't look right since you're … | |
Re: Skip the programming for now, learn to type first. I have absolutely no idea what you're trying to ask. | |
Re: I'll give him the simple answer to the first part simply because he typed his question like an adult and not some kid using a bunch of net lingo shortcuts. [code] public class Student { private Courses courses = new Courses(); //constructor public Student() { } } [/code] | |
Re: What exactly didn't work? Code should be the same. public class MyFrame extends Frame implements MouseListener //include methods found in the MouseListener interface | |
[B]Drive specs:[/B] Type: Seagate Barracuda, 7200rpm Model: ST3200826AS Size: 200GB Interface: SATA [B]System specs:[/B] OS: Win2k SP4 RAM: 1GB CPU: P4 2.8e MOBO: Asus P4P800-e deluxe AV Software: NOD32, 30 day trial version. [B]Problem:[/B] In short, data corruption. Originally, I was using NTFS on the drive. I use it as … | |
Re: Found your problem. [quote]although i am using a JTextPane as a cell renderer. [/quote] Correct, but you haven't set the default editor, so its still editing a JTextField, just rendering it as a JTextPane. Add this: [code] Table1.setDefaultEditor(Object.class, new CellPaneEditor()); class CellPaneEditor extends DefaultCellEditor { JTextPane textPane = new JTextPane(); … | |
Is there a limit to how deep you can go with inner classes? Like having a class within a class, within a class, within a class, etc.... I'm just curious. | |
Re: Can't help you without know what language you're using. Both languages have their preferred methods for parsing and highlighting text. | |
Re: You may want to use Canvas to draw your images in the application. Use a mouse listener to help place the antenna. | |
Re: Just position them in the same place when you draw it? g.drawImage(x,y,image1) g.drawImage(x,y,image2) | |
Anyone know when Sun plans to release 1.6 for Mac? I couldn't find an estimated date anywhere. | |
Re: I believe a barcode scanner/reader will input the text to your program through an input stream much like the keyboard. I recently starting playing around with my old CueCat barcode scanner again and got that working in java. The cuecat spits out an encoded string with a carriage return character … | |
Re: Have you tried searching the forum for similar questions? At the bottom of this thread I clicked on the first "similar" thread mentioned which brings up a thread I replied to before with a solution. My method pads a string to make the length match up to whatever you need, … | |
Re: Biggest joke certification I know of is A+, they just don't get any easier. What are the questions like on this Java exam? | |
Re: Hi, I just started learning PHP myself this week. I've already got a little background on SQL from school, so that helped me jump into things quickly, but within 2 days I had a working site with little trouble. Even though I have programming experience through java and others, I … | |
Re: Reset your bios settings. If they look like they've already been reset and dont hold settings, the battery probably went dead. Else it could simple be the mobo died. Some local shops will have tools for testing the mobo and will check it for free if they're nice about it. | |
Re: I had the exact same thing happen. (the computer wasn't even on when it popped) Replace with a known working PSU and only get but a flicker of power when I switch it on. If the heatsink feels that warm without the machine even running, then it'd be my guess … |
The End.