Posts
 
Reputation
Joined
Last Seen
Ranked #472
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
89% Quality Score
Upvotes Received
28
Posts with Upvotes
25
Upvoting Members
24
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
13 Commented Posts
9 Endorsements
Ranked #207
Ranked #309
~262.09K People Reached
Favorite Tags

754 Posted Topics

Member Avatar for sylvia.roymccormick

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 …

Member Avatar for Reverend Jim
0
659
Member Avatar for umadas

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 …

Member Avatar for Vladan
0
3K
Member Avatar for samaru

Either my iTunes clone in Java, or my RTS game in a non-OOP language. Neither are finished yet.

Member Avatar for Fest3er
0
3K
Member Avatar for Gl753

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++){ …

Member Avatar for Janko_1
0
3K
Member Avatar for Phaelax

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 …

Member Avatar for Dani
0
283
Member Avatar for jengels

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]

Member Avatar for JamesCherrill
0
4K
Member Avatar for AQWst

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 …

Member Avatar for JamesCherrill
0
13K
Member Avatar for zebnoon1

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**

Member Avatar for diafol
0
409
Member Avatar for koneill

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.

Member Avatar for Phaelax
0
342
Member Avatar for CJMW
Member Avatar for CJMW
0
337
Member Avatar for wikit

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 …

Member Avatar for Phaelax
0
476
Member Avatar for Phaelax

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 …

Member Avatar for Phaelax
0
456
Member Avatar for fredy21

> 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

Member Avatar for Phaelax
0
177
Member Avatar for Roger_2

This isn't a place for people to do your homework for you. Try it yourself, then if having trouble ask a specific question.

Member Avatar for JamesCherrill
0
369
Member Avatar for bubbafunk1

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.

Member Avatar for bubbafunk1
0
211
Member Avatar for Phaelax

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; …

Member Avatar for pixelsoul
0
232
Member Avatar for ernesto22

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 …

Member Avatar for ernesto22
0
227
Member Avatar for vizz

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)] …

Member Avatar for Phaelax
0
244
Member Avatar for Phaelax

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 | …

Member Avatar for joshmac
0
135
Member Avatar for My_1

You could set the ImageIcon. ImageIcon icon = new ImageIcon("image.png"); JButton button = new JButton(icon);

Member Avatar for My_1
0
697
Member Avatar for eurohttp

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 …

Member Avatar for rubberman
0
133
Member Avatar for harrykingsville

Which graphics card is best? Usually the newest one. What's typically the best one for most average gamers? The one we can afford.

Member Avatar for rubberman
0
184
Member Avatar for rakibtg

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

Member Avatar for JamesCherrill
0
167
Member Avatar for JasonWung

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 …

Member Avatar for diafol
0
974
Member Avatar for rayan22

Sounds like someone is trying to get answers for their homework because they were too lazy to pay attention in class.

Member Avatar for Priyanka_9
0
233
Member Avatar for fariba123

var checkBox = document.getElementById(boxID); checkBoxValue = checkBox.value;

Member Avatar for bhagyashree.bhatt2
1
1K
Member Avatar for stupidenator

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, …

Member Avatar for stultuske
1
2K
Member Avatar for oberle1515

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.

Member Avatar for pritaeas
-1
479
Member Avatar for supra

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.

Member Avatar for stultuske
1
421
Member Avatar for CoilFyzx

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, …

Member Avatar for mKorbel
0
1K
Member Avatar for sk8ergirl

> I've managed to display all the deatiles of the person i the JList , but I only want the id and name to display The concept is the same, you override the toString() method for your JList. You've already changed what gets displayed in it, so I'm not sure …

Member Avatar for JamesCherrill
0
270
Member Avatar for Aqirulez
Member Avatar for Derek_4
Member Avatar for Violet_82

For reference, this will help you learn about layout betters: http://docs.oracle.com/javase/tutorial/uiswing/layout/index.html

Member Avatar for Phaelax
0
463
Member Avatar for gil.nickson

**st** is a linked list, not a string. Anytime you output an object like that it's going to use its default toString() method. You can either extend the LinkedList class and override the toString() method to keep the output implementation separate from your existing program, or simply write a new …

Member Avatar for Phaelax
-1
260
Member Avatar for narlapavan

You'll need to use JEditorPane, that can support RTF formatting. But as far as I'm aware, it doesn't support tables. You'd have to write your own custom editor/renderer. Or you can simply google for a solution: http://java-sl.com/advanced_rtf_editor_kit.html

Member Avatar for Phaelax
0
372
Member Avatar for krackhead

first of all, you don't need STEP, because the default step value is always 1. Secondly, A FOR statement is looking for an integer. CHR$() returns a character, which is not a number. Leave the CHR$() out of the FOR header. Look at the example below. [code] FOR outer = …

Member Avatar for limpstarfish.flavouredwater
-1
3K
Member Avatar for rajeshwarreddyt

What will this application be using for its source of authentication? Does it access network resources which require LDAP authentication?

Member Avatar for stultuske
0
1K
Member Avatar for Phaelax

I have a list of items, each item having two checkboxes; available and purchased. The item can be available without being purchased. But it cannot not be purchased without it being available. Therefore, I want the user to be able to check purchased and have 'available' auto-checked if it isn't …

Member Avatar for pixelsoul
0
124
Member Avatar for ehpratah

This will show/hide the textboxes when clicking the checkboxes. (seems to have an issue with IE though) <head> <style type="text/css"> .tb_hide{display:none;} </style> <script type="text/javascript"> function myfunction(id){ e = document.getElementById(id); tb = document.getElementById(id+"_tb"); if(e.checked){ tb.style.display = "inline"; }else{ tb.style.display = "none"; } } </script> </head> <html> <body> <form> <input type="checkbox" onchange="myfunction('gas_cb')" …

Member Avatar for ehpratah
0
363
Member Avatar for kurianjoseph

Even web designers are expected to know at least a little html/css. Not learning it you'd only be hurting yourself. And wysiwyg editors tend to make awful looking code and inefficient. HTML isn't that hard to learn.

Member Avatar for <M/>
0
195
Member Avatar for emir_gradacac
Member Avatar for emir_gradacac
0
2K
Member Avatar for Phaelax

I have a simple contact form for a restaurant that's then emailed when submitted. What are some things I can do to ensure the form isn't abused? Such as a user sending multiple emails over and over, or it being hijacked to send spam elsewhere. Here's the php script: <? …

Member Avatar for Atli
0
504
Member Avatar for crestaldin

[code] HashMap freqMap = new HashMap(); //FOR loop through chars goes here if (freqMap.containsKey(character)) freqMap.put(character, freqMap.get(character)+1); else freqMap.put(character, 1); [/code] Don't expect that code to work with a copy n paste job, you'll still need to do some casting and boxing. You can even condense that 4-line IF statement into …

Member Avatar for JamesCherrill
0
433
Member Avatar for humbll

I know this thread is 4 months old, but I wanted to chime in anyway. To backup 800GB of data to discs is going to take a fair bit of time. Not to mention the headache when you want to go back and find a particular file, how will you …

Member Avatar for dom246
0
1K
Member Avatar for mohanakrishna

Yes we need more information. Does the drive show up in BIOS? If not, try different cables (both ide/sata AND power). Also try connecting the drive to a different connector on the motherboard, one on a separate controller if possible. If that doesn't work, attach it to another computer if …

Member Avatar for best4earn
0
171
Member Avatar for Phaelax

I had a massive folder of about 500GB of data that I was organizing and copying over to my NAS for backup. Upon deleting a subfolder, somehow the entire root directory was deleted. Obviously at that size it was not in the recycle bin (I'm using Win7). I used a …

Member Avatar for CimmerianX
0
136
Member Avatar for classic123

This doesn't have anything to do with game development. Try godaddy.com, I've been with them for awhile and you should have everything you need within 24 hours. The domain nearly instantly, but the name servers take time to update. Speaking of, I have to switch mine over to the new …

Member Avatar for <M/>
0
302
Member Avatar for divyakrishnan
Member Avatar for LastMitch
0
3K
Member Avatar for ms061210

Because you're creating a new Sound whenever the user clicks play. Create the sound first, outside of the function.

Member Avatar for Phaelax
0
326

The End.