Phaelax 52 Practically a Posting Shark

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

Phaelax 52 Practically a Posting Shark

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 the best free AV, but I don't think it's even close to the best, just the most popular. But my opinion on AVG is not from personal experience with it, just what I've seen from testing sources over the years.

I've tried BitDefender a year ago and it worked well I think, but too many annoyances drove me from it and it didn't perform well on older hardware.

Lately, recent articles have been calling webroot the best out there.

On a side note, Comodo Firewall is nice.

Phaelax 52 Practically a Posting Shark

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

Phaelax 52 Practically a Posting Shark

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++){
            int n = r.nextInt(10);
            x = n * (8-i);
            sb.append(n);
        }
        // Add 64 to the modulus result and cast
        // to a char to convert the number to the
        // corresponding letter in the ASCII table
        sb.append((char)(x % 23 + 64));

        System.out.println(sb);

I believe this method would do the least amount of casting/conversion between numbers and strings. However, it does leave the potential for the following to be generated: 0000000@

Phaelax 52 Practically a Posting Shark

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.

Phaelax 52 Practically a Posting Shark

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 know which disc it's on?

I use a Buffalo NAS, two 2TB harddrives in a RAID 1 configuration over a gigabit lan. That particular box would cost you about $250, not really a huge cost at all considering what you'd be paying for the stand-alone drives anyway. (NAS grade drives) Mine's been running great for the past year. I also have an older model with 500gb drives (also buffalo) that hasn't faulted since I bought in '09.

As far as reliability of using discs, however, I have files stored on CDs from 10 years ago that are still readable. And bluray DVDs are suppose to be more resilient I believe than the older CDs anyway (at least in terms of scratch resistance).

Phaelax 52 Practically a Posting Shark

Unless you explicitly set CSS to control how the control is displayed, the browser renders it its own way by default. You can set the borders, padding, and background image of a text field just as you would any other web component.

Here's a nice example:
http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/

diafol commented: good find - missed that one +6
Lusiphur commented: good example +1
Phaelax 52 Practically a Posting Shark

I took another look at your program. Currently, what you're doing is getting a policy number from the client then comparing it to the strings in the array. That's all fine and dandy, except you seem to have forgotten what strings are in your array. Look at your addPolicyRecord() method again. See that big messy string you're adding to the array list? You should store Policy objects into the array list.

Ignoring for the moment that I don't see an iterator method in your PolicyTable class (maybe I just over looked it).

/**
 * @param policyId	The policy id as entered by the client
 * @return 		The policy matching the given id or null if no match found
 */
public getPolicyById(String policyId){		
	String pn = "user entered policy number";

	for(int i=0;i<policyInfo.size();i++){
		Policy p = (Policy)policyInfo.get(i);
		if (pn.equals(p.getPolicyNo()))
			return p;
	}
	return null;
}

There's another option as well. If this was a small list of policies that required frequent lookups, I'd probably use a Map.

HashMap<String, Policy> policies = new HashMap<String, Policy>()
policies.put("123456789", new Policy());
String policyId = "123456789";
Policy policy = policies.get(policyId);
TheStig01 commented: thanks +1
Phaelax 52 Practically a Posting Shark

As for educational background, apart from the obvious programming courses, you should have strong math skills. Basic geometry is a must along with a good understanding of vectors and matrices, and I'd recommend taking a course in discrete mathematics if you can.

Statistics also helps out quite frequently. I see game-related questions all the time asking how to do certain things that are easily accomplished if one just knows what a proportion is and how to use it. Apparently, knowing how to use proportions wasn't as common knowledge as I thought.

If you want to develop games in C#, I'd suggest looking at XNA. I haven't used it myself, but I've talked with several friends who said it's really easy to work with.

xavier666 commented: nice summary! +1
Phaelax 52 Practically a Posting Shark

good luck with that

Phaelax 52 Practically a Posting Shark

Here's how you'd create a list:

<select name="jlist" onlick="function()" size="3">
<option value="A">Item A</option>
<option value="B">Item B</option>
<option value="C">Item C</option>
</select>

You can only return whatever value you have in the double quotes, but you can use that information to retrieve a specific class if you need. Write a javascript function that runs when a user clicks on the selection. Based on the value selected, you can do "switch" statement perform whatever operations you need. If you have to retrieve information from a database and don't want to have to refresh the page, look into ajax.

Phaelax 52 Practically a Posting Shark

Here's a good project for you to work on, a spell checker.

Alex Edwards commented: XD too funny =P +1
Phaelax 52 Practically a Posting Shark

Create your own custom TableCellRenderer, then set the background color of whatever the component is that you're returning for rendering.

Component c = whatever your component is
(rowIndex %2 == 0) ? c.setBackground(Color.blue) : c.setBackground(Color.white);

If you do this, you'll also have to control the highlighting of when the row is selected, which is easily handles in the same renderer class. The funny statement above is just an IF ELSE statement simplified. It basically says: IF row is an even number, color it blue, ELSE color white.

Phaelax 52 Practically a Posting Shark

You can use the following equation of projectile trajectory to make your explosions.

x = v*cos(a)*t
y = v*sin(a)*t - ½gt²

Keep an array of 100 or so particles that will make up the firework. Given a random velocity (v) for each particle and a random angle (a). Then just step through the time, updating their positions.

Phaelax 52 Practically a Posting Shark

This is usually the first site I point people to when they want to make a java music player.
http://www.javazoom.net/index.shtml

peter_budo commented: Interesting site +7
Phaelax 52 Practically a Posting Shark

Look at the A* (a-star) algorithm. It's commonly used for path-finding.

Here's the article that myself and a lot of others I know have used to learn A* path-finding.
http://www.policyalmanac.org/games/aStarTutorial.htm

Ezzaral commented: Good suggestion and link. +5
Phaelax 52 Practically a Posting Shark

Actually, this should all be done in 1 thread. I'm guessing you have multiple objects on screen that you want to appear to move at the same time? You would update the positions of all the objects, and only after that should you redraw the objects. If you use double buffering on your canvas, the redraw won't flicker at all and you should see what appears to be all the objects move at the same time.

If the slowMoveVertical(int) method isn't an instant jump from X to X-50 and instead slowly increments up to that position, then you can make an additional thread but it would handle the movement for all the objects. You do not want a separate thread for each moving object, which is what I think you were trying to do.

Can you display the code for those 'move' methods?

Ezzaral commented: Nice suggestion. He won't get it, but it's good advice nonetheless. +4
Phaelax 52 Practically a Posting Shark

I like 3D Studio Max best, my friend prefers Maya. It basically comes down to which package we've invested our time in learning. Pretty much most packages are capable of the same things. I know a lot of independent developers that will use Anim8er or Blender because the high end packages can be quite expensive. And as long as you have the skills, those cheap or free programs can still produce great results, and I've seen them do it.

iamthwee commented: And I know it. Blender is up there with max and maya. +9
Phaelax 52 Practically a Posting Shark

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.

http://java.sun.com/developer/onlineTraining/Programming/BasicJava2/socket.html
http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
http://www.cise.ufl.edu/~amyles/tcpchat/
http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html


Once you know how to use the socket classes and understand the functionality of an instant messenger program, then you'll be able to write a simple chat client without too much difficulty. If you wish to create a client over an existing chat network, that's a whole other issue.

peter_budo commented: NIce resources, but they expected us to do they homework :) +6
bloody_ninja commented: I search google; it brings me to this post. +1
Phaelax 52 Practically a Posting Shark

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:
http://darkbasicpro.thegamecreators.com/

Since you said you were pretty good with VB, I assume you'd be able to pick up DB fairly quickly. It's really capable of a lot more than people give it credit for. I also happen to have written a tutorial for creating an RTS with DB.

It uses DirectX 9, and supports many other 3rd party libraries through wrapper dll's various ppl have written. I'm working on an FMod wrapper myself.

The thing to keep in mind with fmod though is its licensing. IF you never plan to sell your game, then you got nothing to worry about.

I know a few guys that use the Torque engine and they really like it, it costs $150. (pretty cheap compared to most game engines)


Google's modeling program:
http://www.sketchup.com

open-source 3d engine:
http://irrlicht.sourceforge.net/
has a java binding as well

~s.o.s~ commented: Good one - ~s.o.s~ +9
Phaelax 52 Practically a Posting Shark

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 to RMA.

There's 3 types of drive connectors:

IDE - the ribbon
SCSI - also ribbon but vary in widths
SATA - a much thinner cable, about 1/4" wide

Phaelax 52 Practically a Posting Shark

write a chat program, that's something nobody else is doing!

Phaelax 52 Practically a Posting Shark

We know absolutely nothing about your project, nor have you even tried explaining it. We can't offer help on such a vague post.

Phaelax 52 Practically a Posting Shark

I came across a very good one the other day on sourceforge called Geshi.

http://qbnz.com/highlighter/

paradox814 commented: Very helpful +1
Phaelax 52 Practically a Posting Shark

how is the table data represented? Is it from a Vector? To make things simple, you could just save the Vector by use of serialization. When you change the table's data and/or column headers, you have to let the table know that the data has changed by firing a trigger event. I can't remember if this is the correct method or not: fireTableDataChanged()