754 Posted Topics
Re: Here's the difference, Apache actually works! I used to use IIS, but it can be a headache when installing modules, it's easier with Apache. If you're using a Windows system, check xampp. | |
Re: I think I'm the only person who prefers to do all my web coding in notepad. Only time I use an editor (frontpage) is for drawing tables. I've used HyperEdit before and it was pretty nice. It's strictly an HTML/CSS editor with a preview window, no drag n' drop interface. … | |
Re: judging by the screenshots, it looks like you're using PNG images. The following site explains the script I use to fix png display issues in IE. [URL]http://homepage.ntlworld.com/bobosola/index.htm[/URL] | |
Re: He's got a "[B]illegal start of expression[/B]" error in his code. If you used code tags, it'd be a lot easier to find the answer. Or you could just look at what line number the compiler said the error occurrs on. | |
Which would be the preferred, or more efficient, way to read in a 40mb XML file? I remember reading (awhile ago) there were different methods of parsing XML, some more efficient than others depending on the need. The entire file would eventually need to be loading into an array, so … | |
Re: It'd help us if you stated what language you wanted to use. Are you looking to create your own messenger protocol or built an application upon a current one such as msnp or oscar? | |
Re: umm, cobol can output those numbers with commas added into them, just move it to a different pic. What's wrong with calling javascript in this case anyway? | |
Given a JTable which presents 30-50k rows, its responsiveness becomes very slow. Is there anything I can do to improve its speed? I don't see why the number of rows would affect it so much. Wouldn't it stop rendering rows once it passes the a point beyond the size of … | |
Re: total + 1000 doesn't do anything. as you haven't defined a place for it to store the result of the addition. If you wanted total to equal itself plus 1000, how would you write it out on paper? | |
Re: First, you should take out the JOptionPane from teh squareOfCharacters method, otherwise you'll be prompted every time the applet repaints. And instead of using a single FOR loop, use two nested FOR loops. The outer loop would be your row counter (up-down) and the inner loop would be your columns(left-right). … | |
I installed the public beta of Vista (5728) on one harddrive and later installed Win2k on another. Ever since I installed win2k i haven't been able to boot into vista. Vista isn't listed as a boot option on the boot menu and I've read its because vista doesn't use the … | |
Re: If you don't need PHP, you can just use IIS. But I suggest just installing Apache. I recommend Xampp [URL]http://www.apachefriends.org/en/xampp.html[/URL] Makes it incredibly easy to install apache, php, mysql, and ftp (filezilla server). | |
Re: [QUOTE] Jus nid help wid sm few codings wich myt b of use to this game, aint askin ny1 to do it 4 me since it aint a homework bt jus a topic of interest i picked up frm smwea. Any help wil be appreciated. Thnx [/QUOTE] Having a little … | |
Re: Is there a particular website that does what you want? That way we could have a better idea of what exactly you're after. | |
Re: Set up your database with a User table and a Mail table. When a user logs in, have it query the Mail table for any entries assigned to them. I'd set up my tables somewhat like this. [code] User { id -> int name - varchar[128] email - varchar[256] md5(password) … | |
Re: [QUOTE]It wasn't just the worst school shooting (Columbine comes to mind). This was actually the most lethal massacre / deadliest shooting rampage in the history of the US. [/QUOTE] Perhaps, but not the scariest. It was all over before most people knew it even started. If anyone remembers from a … | |
Re: Remove any Aces from your hand, sum up whats left and if that total is less than 11 then you can make the Ace worth 11 without busting. [code] if sum(cards-Ace) < 11 Ace = 11 else Ace = 1 endif [/code] | |
Re: Your computer needs the proper language pack installed. If you open the "Regional Options" under control panel you should see where to select other languages you want installed. You'll probably need your Windows CD to do it, but I'm not positive about that. I try to keep all possibly languages … | |
Re: Wow sure, I'll get right on that for you. Oh wait, you haven't posted a single thing to even let us know what you need help on. And your english needs a little work. | |
Re: similar and the same are two different things. If you know for sure they will be the same then you can link the two tables together. Give this a try. It will, however assume that the same product does in fact lie within both tables. If the product isn't in … | |
Re: You could do it in PHP, but I think using ajax would be a better choice for keeping all the different users synced at the table. Just google for 'ajax tutorial' and you'll get tons of results. | |
Re: Post the specific error the IDE is giving you. | |
Re: Have you tried File class? [code] File filePath = new File("C:/Temp/"); File[] files = filePath.listFiles(tifFilter); files[0].delete(); files[1].delete(); ... [/code] | |
What does this site use to highlight and display code syntax? I been using Geshi for my site, but it has issues with copying just the code text when displaying line numbers. | |
Re: I bought this book for less than $10 at a local used-book store and it was pretty decent and covered many related topics I didn't initially think about when starting. [URL]http://www.amazon.com/Apache-MySQL-Development-All-Reference/dp/0764549693/ref=sr_1_4/002-0490527-4041604?ie=UTF8&s=books&qid=1176884373&sr=8-4[/URL] | |
Re: Beat me to it. Was gonna say the problem is in the value of your pName variable which was likely causing an incorrect query string, hence no result. ah bugger, this was over 4 days ago. | |
Re: I'm guessing he probably wants it in Illustrator. Well, assuming you own the program then you should have the manual which explains how to do what you want. | |
Re: So you got B at 4,4 and E at 5,5. Continue to increment the coordinates but check that its within range of the puzzle. So A at 6,6 is outside the range so subtract the maximum puzzle dimensions from it. So 6-5 = 1. Then A goes at 1,1 and … | |
Re: Are you already familiar with Java? You'll need the java mobile kit (not sure what its actually called) and a server running MySQL or some other database. The server will also need to run the server program which accepts incoming connections from clients and routing all the IM traffic. Then … | |
Re: Not sure which question you're asking. How to take data from a JTextField and put it in a JTextArea, or loop through a series of numbers and appending each to the JTextArea. Either way, you use .getText() and .setText(String s) for both classes. | |
Re: I found Netbeans easier to learn than Eclipse. Jwenting, didn't netbeans 5.0 fix much of the speed issues? TextPad is a decent starting point. It keeps things simple and shouldn't cause any confusion. ![]() | |
Re: [QUOTE]I need to complete this proj withing 3 months and have no time to learn anything [/QUOTE] Sounds like you shouldn't have accepted a project you knew nothing about nor willing to learn anything about it. | |
Re: Look it up in your book, as this sounds just like homework questions to me. | |
Re: Use code tags next time, nobody wants to look at unindented code. Aside from using a few classes that the rest of us don't have and so we can't run it, all I really see so far is you've constucted the GUI. For compiling and running classes, you'll really need … | |
Re: I threw up some data into an sql table and queried the results onto the page linked below. [URL]http://zimnox.com/leagues/[/URL] Is that something like what you want? | |
Re: You mean change all instances of "infex" to "prefix"? 'Cause I don't know what an infex is. | |
Re: Quit. Just quit now. | |
Re: What kind of events are you trying to listen for? Just for when the file has finished loading? If so, you manually load the file into the text component yourself, so there's no need for a listener interface there. | |
Re: Google SketchUp, heard of it but I've never used it. Wings3D I know is used sometimes by indy game developers. I spent so much time learning my way around 3d max I couldn't see myself using anything else. ![]() | |
Re: Congrats, you can post your homework. You'll be working in IT in no time. | |
I have a GA-7DPXDW motherboard. One 512mb registered ecc ddr stick, of either samsung or micron. I just bought a 1gb samsung stick and stuck it in. For some reason, adding that stick, the computer is very slow to boot up. Turn it on, and it sits for about a … | |
Re: Here's a better idea, practice and learn to play. I'm guessing that someone kicked your butt and so now you want to cheat to show them how great you are? | |
Re: The very first method listed in the JEditorPane API is the one you should be looking at. [URL="http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JEditorPane.html#addHyperlinkListener%28javax.swing.event.HyperlinkListener%29"][B][U][COLOR=#0000ff]addHyperlinkListener[/COLOR][/U][/B][/URL]([URL="http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/event/HyperlinkListener.html"][U][COLOR=#0000ff]HyperlinkListener[/COLOR][/U][/URL] listener) | |
Re: mapaputsi, stop trying to hijack the thread. Creating your own thread was sufficient, so just be patient. | |
Re: Here's how to do file writing. [code] File myFile = new File("client.dat"); BufferedWriter out = new BufferedWriter(new FileWriter(myFile)); String output = "statement"; out.write(ouput, 0, output.length()); out.newLine(); ... ... ... out.flush(); out.close(); [/code] | |
Re: I can give you an idea of how to do it. For the starting line number, determine how much the view has already been scrolled and divide it by the amount of pixels taken up by a line number. If line numbers increment every 16 pixels, then: starting line # … | |
vBar is the vertical scrollbar. Not matter what the current value of the scrollbar is it'll always set the maximum value, which makes absolutely no sense to me. I'm trying to get it so it only scrolls when the scrollbar is already at the end, or its maximum. (so users … |
The End.