- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 28
- Posts with Upvotes
- 25
- Upvoting Members
- 24
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Re: I used Norton (corporate without the bloatware) for a long time until they were very slow to come out with a 64bit version many years ago. I have since been using Avira, which has some of the best overall scores in testing. I always see AVG mentioned a lot as … | |
Re: Keep in mind that outlook will lock the pst file, so your java program won't be able to access it at the same time if you have outlook running. This link appears to give a good description of the file's format. [URL]http://www.five-ten-sg.com/libpst/rn01re04.html[/URL] Upon further reading, those files can be up … | |
Re: Either my iTunes clone in Java, or my RTS game in a non-OOP language. Neither are finished yet. | |
Re: I looked up PPS on wiki to see how it is calculated. Once the proper number is calculated, you can simply cast it to a char to match it up with an ASCII table. Random r = new Random(); StringBuilder sb = new StringBuilder(8); int x = 0; for(int i=0;i<7;i++){ … | |
I have a fixed header followed by a list with various anchor tags. By default, the anchor will jump to the top of the browser. I need to offset this so it displays below the header. I found a solution online, but became quite annoyed once I found out that … | |
Re: Or, you could simply check if the character is upper case. [code] public static void main() { String s = "This has Three Upper case characters"; int caps = 0; for (int i=0; i<s.length(); i++) { if (Character.isUpperCase(s.charAt(i))) caps++; } System.out.println(caps); } [/code] | |
Re: I don't know what a csv file is or what the structure is, but if its just a text a file with numbers like that, it's quite simple. The only thing to be careful about in this code is that it assumes there won't be more than 24 elements, or … | |
Re: I strongly back up what diafol has said. Right now you're vulnerable to injection attacks. Many folks think that because they can't see POST data that it can't be tampered with, but it's rather simple to not only view it but alter it as well. Look into using **filter_var** | |
Re: Well for one thing, your second SELECT is missing the opening tag around the options. I'm not exactly sure what you're asking. If you're wanting to just change the default selected option, just add the *selected* attribute to the option tag. | |
Re: Does it throw any errors when you compile? Or simply doesn't display? | |
Re: PHP can do what you want, as long as you don't mind refreshing the page to calculate the answer. Most would say that's a deal breaker, so use javascript as the others have suggested. You can still use PHP, however, to build the initial form if you have a lot … | |
Title pretty much says it all. I want a background image to have a linear gradient fade to transparent. I've faded the image out to a color by overlaying a gradient on top of it, which unfortunately would only help me if my site background is a solid color. (see … | |
Re: > Right there is your problem. Naming conventions Just to add to what fredy is talking about, every language tends to have a standard way of naming things, whether official or not. Makes it much easier looking at other people's code. http://www.oracle.com/technetwork/java/codeconventions-135099.html http://java.about.com/od/javasyntax/a/nameconventions.htm | |
Re: This isn't a place for people to do your homework for you. Try it yourself, then if having trouble ask a specific question. | |
Re: I'd put those strings into an array, more efficient doing a simple array lookup than a bunch of IF statements. `echo do_shortcode(codes[get_the_ID()]);` My guess is that you're getting that banner because the ID function is returning 78. Unless you have an error somewhere in your do_shortcode function. | |
Doing a custom file upload button like so: CSS: input[type="file"]::-webkit-file-upload-button{ visibility:hidden;width:0;height:0;} input[type="file"]{font-size:30px !important;background:none !important;} input[type="file"]::before{ content: 'Select an image'; display: inline-block; background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3); border: 1px solid #999; border-radius: 3px; outline: none; white-space: nowrap; -webkit-user-select: none; cursor: pointer; text-shadow: 1px 1px #fff; font-size: 40px; margin:auto auto; text-align:center; line-height:80px; width:624px; … | |
Re: Where's your code for sending the email? Do you have an email server setup yet? Generating a 6 digit pin is as simple as: `$pin = rand(100000,999999);` Store the pin and associated user id into a table. When the user enters the pin, check it with the table that the … | |
Re: I played around with it for awhile, and I just don't see a way of doing this with pure CSS. You're going to need javascript to change those LI tags when checkboxes are clicked. Unless CSS has some kind of conditional code I'm not aware of. Something like:` [if (#select_type_1:checked)] … | |
I'm making a kind of address book thingy and seem to have confused myself on the best way of organizing the tables. At the moment, I have two tables, Contact and Number. Here's a basic representation of my tables: ___________ | Contact | |-----------| | cid | | fname | … | |
Re: You could set the ImageIcon. ImageIcon icon = new ImageIcon("image.png"); JButton button = new JButton(icon); | |
| Re: My current monitor is LED because it's more efficient and also mainly because that's what all monitors seem to be these days. My old westinghouse started to fail, it was not LED, and I had to buy a new one. Despite the fact that my new 24" Asus ProArt is … |
Re: Which graphics card is best? Usually the newest one. What's typically the best one for most average gamers? The one we can afford. | |
Re: Looks like the Nimbus look n feel. To change the look and feel, read here: https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/index.html | |
Re: Hijran, you can't send the redirect header when you've already outputted text to the page. And create a new thread next time instead of hijacking someone elses. Jason, I'm uncertain what you're having trouble with. Store the image path as a string in the database. Are you having trouble getting … | |
Re: Sounds like someone is trying to get answers for their homework because they were too lazy to pay attention in class. | |
Re: var checkBox = document.getElementById(boxID); checkBoxValue = checkBox.value; | |
Re: Sorry piyali, I only understand English grammar. Since nobody is aware of Google, I decided to be a nice guy and find some resources for all of you. [url]http://java.sun.com/developer/onlineTraining/Programming/BasicJava2/socket.html[/url] [url]http://java.sun.com/docs/books/tutorial/networking/sockets/index.html[/url] [url]http://www.cise.ufl.edu/~amyles/tcpchat/[/url] [url]http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html[/url] Once you know how to use the socket classes and understand the functionality of an instant messenger program, … | |
Re: I think he means this: [code] stupid formatting basically, the other side of the tree (flip his image around) [/code] Sounds like a homework problem to me. | |
Re: What is wrong with you? You brought back a 4 year old thread and hijacked it. Do a search on the forum, hundreds of kids have asked for project ideas already. Develop a front-end interface for an e-commerce site. | |
Re: Sounds tricky, but here's my first thought. Add a listener to the combo boxes. When a value is selected from one of them, retrieve a list of the other combo boxes from that row. A custom table model can help with that. You don't need to create a new JComboBox, … |