754 Posted Topics
Re: If the titles are showing up as Flash, then it's probably done with either sFIR or possibly Cufon. And yes, they are rendering the text with Flash, and Flash does allow you to select text. | |
Re: Read it like a Properties file, you just won't have the section headers like [xxxxx], but all the properties will be read into basically a hashtable. [code] Properties p = new Properties(); p.load(new FileInputStream("myfile.ini")); String value = p.getProperty("key"); [/code] | |
![]() | Re: Think of an ArrayList as table. You'd make 1 class for each different table, not each variable. Let's say you need to store customer information, a typical table would look like this: [code] Name Address Phone Email -------------------------------------------------------- John 123 main st. 555-1234 john@gmail.com Sue 654 4th st. 555-6547 sue@gmail.com … ![]() |
Re: Notepad++ all the way. I might look into Netbeans since I use it anyway for Java, but Notepad++ is so much more lightweight. | |
Re: Not sure what MPI is, but this might help: [URL="http://www.iti.fh-flensburg.de/lang/algorithmen/sortieren/bitonic/oddn.htm"]http://www.iti.fh-flensburg.de/lang/algorithmen/sortieren/bitonic/oddn.htm[/URL] | |
Re: That's basically it, it's still C++ code really. Since CUDA can be used with C#, C++, Python, Java, possibly others, it's really just an extension to provide access to the GPU through whatever language you're currently using. | |
Re: Your web page can't really control what the browser refreshes. When you hit the refresh button it's going to reload the entire page, that includes all your frames. I suppose you could store a cookie and update a variable whenever the bottom frame changes and read that on a page … | |
Re: This will test the strength of your password: [URL="http://www.passwordmeter.com/"]http://www.passwordmeter.com/[/URL] If you want to test it on the network as from an outside source, you'd be testing the security's encryption scheme more so than the password, in which case I doubt anyone is going to help you crack "your" wireless password. | |
Re: Based off the code I found here, [URL="http://www.webdeveloper.com/forum/showthread.php?t=52083"]http://www.webdeveloper.com/forum/showthread.php?t=52083[/URL], and a few other additions, I came up with something for you. The general conclusion I saw to this problem was that it has to be done using javascript. I've tested the code in the latest version of Chrome (4.0.266) and FF … | |
Re: The "ABTA" ad on the right appears to be at a fixed position, which will overlap the text in the middle on any browser depending on the browser's width. Other than that, it looks fine in FF 3.5 and Chrome 4.0. IE 6, however, is all messed up. What version … | |
I need a method of rendering HTML in Java. I was originally planning to use [URL="http://www.genuitec.com/about/labs-webkit-for-swt/WebKit%20For%20SWT%20Developer%20Guide.html"]WebKit for SWT[/URL], but I'm having problems with it displaying images as specified in the CSS. Most examples I've seen have worked fine when loading an external html file, even the package mentioned above. My … | |
Re: I was just trying to figure out the same thing last week. Basically, your 'Word' nodes are still Elements with children. To get the text between the opening and closing tags, grab the element's first child node and retrieve its value instead of the parent element's value. [code] String xml … | |
I've played around with HTMLEditorKit and HTMLDocument, and while I've managed to do the parsing I needed, I also need the complete source code of the document to pass along to a webkit renderer. Java's existing document throws out some tags after I read it in. [code] HTMLEditorKit kit = … | |
Re: It's a security issue. The following link should explain things. [URL="http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html"]http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html[/URL] | |
Re: I suggest asking on JForum's forum. [URL="http://jforum.net/forums/list.page"]http://jforum.net/forums/list.page[/URL] As it's their project, I'm sure they could help you a lot quicker than those of us who have never looked at their source code before. | |
Re: For starters, I don't see how that would compile considering you instantiate JPanel with reference to 'card' before it is even initialized. Secondly, you should add your CourseChooser component to 'card', not the parent JPanel 'courseChooserPanel'. [URL="http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html"]http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html[/URL] | |
Re: At least this one didn't ask us to write it for him. Try a server/client chat program. My old job used an in-house AOL-like messenger program for techs to reach others in the building. (rarely worked though) | |
I'm using [I]javax.xml.parsers.DocumentBuilderFactory[/I] to load an XML file. The file contains paired elements like so: <A></A> <B></B> <A></A> <B></B> <A></A> <B></B> So if I did the following: [code] Element element = <root node element> NodeList nodeListA = element.getElementsByTagName("A"); NodeList nodeListB = element.getElementsByTagName("B"); [/code] Can I assume the elements are in … | |
Re: [url="http://www.deliveryourmedia.com/article-audio-primer.html"]http://www.deliveryourmedia.com/article-audio-primer.html[/url]answer is on that site somewhere. (i skimmed it) and if its not, open the next result from a google search. | |
Re: either it didn't copy over correctly or you forgot to upload additional files it requires, such as a style sheet. | |
Re: What isn't your method doing that it should be doing? Your instructions say you should have a Customer.borrowVideo(Video v) method, but I don't see one in your class. | |
Re: So you can keep track of product discounts. Just sit down and think what you need to know about your store. You need to know the product name, a description (maybe short and long), a price, quantity in stock, attributes. If you sell nothing but t-shirts, the attributes will be … | |
Re: Change: byte[] requestArray, rec_bytes To: byte[] requestArray, byte[] rec_bytes I don't think you can initialize multiple variables from a single type like that within the method header. | |
Re: Google the DLL name and you'll find a link to download it. It appears to be a Microsoft library for managing user profiles or something. | |
Re: Here's code for the lazy man. Just change the host name to your computer name, because I'm not doing that for you too. If you use "localhost", it'll just return the local loopback IP. [code] import java.net.*; class NetJunk { public static void main () throws UnknownHostException { String host … | |
Re: You'll need to write something in C++ and use JNI in java | |
Re: I looked at the link in IE6 and FF3 and could see anything wrong with the text or images. | |
Re: I'm starting to remember why I stopped visiting the forums. Good job, you pasted your homework assignment. Why are you sharing it? Have a specific question? | |
Re: Have the game point to the database on your web server. If the game server isn't running locally on the same as your website, make sure your webserver allows access to the database from other IPs. Most by default won't allow it, if your webserver is your own private that … | |
Re: I'm primarily a java programmer so I might have some capitalization wrong here, but it should get you started. [code] //connect to server and get intput/output stream TcpClient client = new TcpClient(string ip, int port); NetworkStream stream = client.GetStream(); //send a string to the server ASCIIEncoding Enc = new ASCIIEncoding(); … | |
Re: There's a small, local computer store in my town where I continue to my computer parts after several years, even though their prices aren't as cheap as Newegg. Why? Because I know if I ever have any problems they'll go out of their way to help. I'm willing to pay … | |
Re: I'm curious as to which manufacturer of harddrives you commonly use. In the last 10 years, I've only had 2 drive failures. The first was a WD 8.4GB which failed within the first month but was able to have RMA and it still runs fine to this day. The other … ![]() | |
Re: I'm running it on Win2k just fine. So far the only time the browser crashed was when I tried to view this article. (but i've been using it constantly since yesterday without problems) I noticed speed increases over FF, but if anyone's noticed the amount of memory Safari uses...... ![]() | |
Re: So why is Microsoft being sued? As far as I'm concerned, they had nothing to do with which machines the stickers went on. The customers should be comparing the specs of their machine and the OS they want before purchasing it anyway. This is almost as dumb as spilling coffee … | |
Re: On my last trip to Best Buy, I noticed that several HD-DVDs supported both HD and standard DVD (one on each side of disc). If HD discs continue to do this and BluRay can't/doesn't, then that's yet another reason for people to buy HD over BluRay. You can start building … | |
Re: I had a fairly large music collection on my computer. All the songs worked fine for the week I used Vista (public beta). After importing my music into iTunes 7, it was all corrupted. None of the filenames matched up to what was actually playing. (this is even when playing … | |
Re: When Apple includes software, its genius. When Windows includes software, its a monopoly. Hardly seems like a fair comparison. And Mac hardly included all the software I needed, though it does include some handy applications. (I have a powerbook with Tiger) So if you deal with graphics of some kind, … | |
Re: I'm gonna have to agree with the author and say tables is generally the way to go. DIVs cause more problems than its worth. With tables, I have a nice layout that views the same across every browser. With DIVs, I could spend an hour and have a different effect … | |
Re: Lately, I've been hearing of some colleges using pseudo code for the intro to programming courses. So by the time they get to a real programming course, they might know what an IF statement is but they haven't actually seen one before. I know DeVry used to teach such a … | |
Re: [quote]I have a hard time understanding how other browsers would not work, unless there is code to deny access to non-IE user agents.[/quote] That's exactly what they're doing. First I used firefox to see which page did the check. I then used IE to get to the page just passed … | |
Nothing fancy, but I know many new programmers are often confused about recursion. Recursion simply is when a method calls itself. What MyTree does is it adds nodes to the root node, then that root node can be used to create a JTree. The populate() method reads in a list … | |
Re: Is this for 2D or 3D? | |
Re: I've used [URL="http://www.doc2pdf.net"]www.doc2pdf.net[/URL] for converting several DOC and RTF files and haven't had any problems at all. I haven't noticed any watermarks, its free, and its the first google result when I was looking for a converter. I don't know if it handles excel though. [COLOR=#008000][URL="http://www.doc2pdf.net"][/URL][/COLOR] | |
Re: Object[] = 1D Object[][] = 2D Object[][][] = 3D See the pattern yet? As for laying them out, I'd probably go with a GridBag layout. | |
Re: I subscribed once to digital blasphemy back in the 90's. I think it was like $10 a year then, but after only seeing 3 new wallpapers made for members over the entire year, I gave up on it. I ran at 1600x1200 around '99, which was huge back then, and … | |
Re: Someone replied to you on [url]http://www.developphp.com/dev_forum/view_topic.php?cat=5&otid=7604&forum_name=Flash%20CS3%20and%20ActionScript%203&title=Coding%20Sytax%20question[/url] In short, yes you can use prev instead of prevPic, but I say stick with prevPic since it's easier to know what the function might do. prev could mean many things. It's just better coding practice to stick with descriptive names. | |
Re: Safari does have a Windows version. You could use Chrome which also uses Webkit, but Safari 4 currently has the most updated version of webkit; Chrome is slightly behind on the version but should work the same | |
Re: Hopefully, English isn't your first language. If this is for your class, why not ask your teacher? I'm sure he/she would have explained a little something about how to proceed before demanding students create a database on their own. If asking for a prototype, it could be something as simple … |
The End.