754 Posted Topics

Member Avatar for Phaelax

Most web forums will state next to each board how many threads or posts have been been. Would you calculate that with a query for each board to count the number of "post" entries in the table for that board, or simply increment a number in the board table whenever …

Member Avatar for davidn
0
111
Member Avatar for groogruxking40

Quick and dirty example: [code] <div style="float:right;"> form fields go here </div> [/code] The key is the "float" attribute. Just play around with width/height to get what you want exactly.

Member Avatar for almostbob
0
132
Member Avatar for LeonKamei

I would probably create a single table for Units and give a unique ID to each truck and equipment. The ID would be a SKU built from a pre-defined set of rules describing how it's formed. For example, every truck ID would be prefixed with a [B]T[/B], and equipment could …

Member Avatar for Phaelax
0
103
Member Avatar for K?!

Here's how you'd create a list: [code] <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> [/code] 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 …

Member Avatar for K?!
0
407
Member Avatar for topito2

You can't get the code, an applet is compiled. And from the names in the code there, I'm guessing it has something to do with fourier transforms?

Member Avatar for fredofrey
0
197
Member Avatar for wonder_laptop

Try to code the routine yourself. Should you get stuck, ask specific questions and we WILL help you. But simply asking to write it for you just isn't going to happen.

Member Avatar for huj_v_palto
0
188
Member Avatar for ramborambo

> Hey need lots of help on arrays! > > this is the exercise... > > 1) Write a Java application that creates an array of int initialised with the following numbers: 1 4 9 16 17 21 25 33 37 40 > and reverses the contents of the array …

Member Avatar for BestJewSinceJC
0
129
Member Avatar for TaubBaer

Ok, so you were able to post your homework, but how about explaining what the problem is you're having?

Member Avatar for TaubBaer
0
556
Member Avatar for realestninja

I'm already working on a similar project myself because I hate myspace with a passion. Frankly, I don't understand how myspace has become so popular. I have never seen a website with so many broken "features" that don't even stay consistent among other users. I'm still designing the structure of …

Member Avatar for cwarn23
0
978
Member Avatar for 3DProf4online

The only 3D I ever thought was a nice feature for websites was for real-estate; virtual tours through homes. A 3D store sounds like something I probably would've used VRML for. Does anyone even use vrml anymore?

Member Avatar for EpicSystems
0
152
Member Avatar for Phaelax

I installed php (4 i think) and added the extension to iis. When I try to view a php file through the web browser, I get the following error: [quote] [b]CGI Error[/b] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did …

Member Avatar for nav33n
0
131
Member Avatar for tygerberg

Search for tutorials on using Sockets and SocketServers. I'd give you a link to one I have bookmarked but I seem to currently be locked out of my own desktop.

Member Avatar for stultuske
0
159
Member Avatar for perl1user

nevermind this post. The thread didn't show me there were any replies on the page before I responded.

Member Avatar for mitchems
0
140
Member Avatar for MeTc123

Not entirely sure what you mean. Is the image left-aligned within photoshop? Or is it left-aligned in your web browser? If the latter, I'm guessing you used adobe's html export?

Member Avatar for Jen0608
-1
138
Member Avatar for Acidburn

Are you using iTunes on Windows? Did you run the example script that is suppose to get iTunes playing songs? JACOB files in the correct locations?

Member Avatar for priyankalakhe
0
149
Member Avatar for Doops

This method would take the ball's coordinates from its center, its radius, and a Block object. It'll return true if they're overlapping. [code] public boolean overlap(int bx, int by, int radius, Block block) { int x1 = block.getX(); int y1 = block.getY(); int x2 = block.getX() + 30; int y2 …

Member Avatar for mjta18
0
156
Member Avatar for jjskywlker

Here's some info on the binary search. [url="http://www.tbray.org/ongoing/When/200x/2003/03/22/Binary"]http://www.tbray.org/ongoing/When/200x/2003/03/22/Binary[/url]

Member Avatar for stultuske
0
4K
Member Avatar for laoli

I installed XP for a friend, legit copy of my own. However, I did not feel like going though the activation hassle so I used a registration crack. After upgrading to SP2, the crack no longer worked for him. I told him to just put his 2kpro back on.

Member Avatar for jbennet
0
1K
Member Avatar for barronxxx

Only way I'm aware of is to either use frames or update the containers' content dynamically.

Member Avatar for wickedsunny
0
75
Member Avatar for Deech86

Does you question have anything to do with Java? 'Cause javascript and html have nothing to do with Java.

Member Avatar for MidiMagic
0
159
Member Avatar for rakesh.mk

This all depends entirely on where your usernames are stored. In a database? A file? Hard-coded?(better not be) Open the Java API docs and review the contructors for JComboBox (assuming you plan to use the Swing framework) and that'll give you some ideas on how to add usernames to the …

Member Avatar for peter_budo
0
157
Member Avatar for heavenkid
Member Avatar for Dalli

So you're saying the field 'stl' can be like 1 or 2 or 3 or 4 instead of where is was only like 1 before? Couldn't you group several like statements with OR? [code="mysql"] ((stl like '$st1') OR (stl like '$st2') OR(stl like '$st3')) [/code] I might be missing what …

Member Avatar for Dalli
0
101
Member Avatar for ajithraj

So what's holding you back from doing it? I'm guessing you need help on parsing the initial string?

Member Avatar for javaAddict
0
84
Member Avatar for ezkonekgal

I would do something like this: [code="java"] if (!(option == JOptionPane.YES_OPTION)) stop = true; [/code] I have no idea what the values are for the constants, so always better to use the constant name rather than a value like '1'.

Member Avatar for fireheart1024
0
158
Member Avatar for Tony0930
Member Avatar for Phaelax
0
100
Member Avatar for guerreronoli

I know you can access the registry from command line, I had to do that with Basic awhile ago. This only helps in reading the registry as far as I know, if you need to write to it you'll need to look for another solution. Registry command line [URL="http://www.computerhope.com/issues/ch000848.htm"]http://www.computerhope.com/issues/ch000848.htm[/URL]

Member Avatar for Phaelax
0
44
Member Avatar for Phaelax

I need to create table with expandable rows. Each row in the table can be expanded to display a secondary row. While I have managed this in the past for other projects, this problem is slightly unique. For the rows that are always visible, I want them to be only …

Member Avatar for Phaelax
0
125
Member Avatar for Kelly4270

You want an HTML/CSS forum. Your question still makes little sense, what is this "hover" feature? Do you mean your background changes color when you hover your mouse over it? To override a hover effect you have to set the proper CSS code. If it's a myspace default effect that …

Member Avatar for Phaelax
0
81
Member Avatar for EDDYGATE

I don't know what your "getThePage()" method looks like. I'm assuming you're trying to listen for the ENTER key? Add a KeyListener to the text field. To set the page, look at the following method in the Java docs: JEditorPane.setPage(URL page)

Member Avatar for Phaelax
0
102
Member Avatar for sInFuL69er

Recalculate the price after a selection change. [code="java"] public void valueChanged(ListSelectionEvent evt){ if (!evt.getValueIsAdjusting()){ price = basePrice; if (evt.getSource() instanceof JList){ JList list = (JList)evt.getSource(); for(Object value : list.getSelectedValues()){ //price += value; } } } } [/code]

Member Avatar for Phaelax
0
141
Member Avatar for Muaz AL-Jarhi

Your teacher told you to make a game but hasn't covered methods and classes? Or do you think you just need to ask your teacher for help? Nobody here is going to do your homework when you haven't even tried in the slightest.

Member Avatar for naniesc
0
187
Member Avatar for jOhN_pRattZ

These might help you solve your equations: [url]http://www.mathreference.com/la-det,simeq.html[/url] [url]http://www.themathpage.com/alg/simultaneous-equations-3.htm[/url] They explain the method, or "formula" for what you want. All you have to do is implement it.

Member Avatar for Phaelax
0
185
Member Avatar for esy928

Platform games are generally tile-based. So use a 2D array to store your map tiles. You only draw the tiles that are visible within the viewport (what the play can see on the screen). You'd basically have a map pointer that keeps track of what position in the map data …

Member Avatar for esy928
0
302
Member Avatar for dina

I know sql is more for server-client databases, and I think access is for personal databases. So it would depend on what you need your database to do and how it is interacted with.

Member Avatar for morphosin
0
1K
Member Avatar for CoolGamer48

Take a modular approach to your challenges. Start with a basic map of just some cubes to represent the world. Build your collision system. Once your character manages to stop walking through walls, add buildings it can walk into. Then work on a "trigger" system, as in setting up specific …

Member Avatar for Ezzaral
0
866
Member Avatar for Gorilla
Member Avatar for jk_bscomp

Read through this (assuming a GroupBox is what I think it is): [url]http://java.sun.com/docs/books/tutorial/uiswing/components/border.html[/url]

Member Avatar for Phaelax
0
90
Member Avatar for codered152

I'm assuming you're talking about adding columns to a JTable? Check out the methods in the DefaultTableModel class.

Member Avatar for vidaj
0
83
Member Avatar for mysong

We don't know what you're building, you're going to have to do a much better job at explaining what you're trying to do.

Member Avatar for Phaelax
0
142
Member Avatar for Leratos

by default they should be displaying inline, unless the container's width can't fit them that way. Let's see the code where the images are being called

Member Avatar for Phaelax
0
75
Member Avatar for Phaelax

Nevermind, I'm a retard. I had phpMyAdmin opened to the live server, not the testing server which is still empty. I need a drink.

0
74
Member Avatar for freesoft_2000

[url="http://bluej.org/"]http://bluej.org/[/url]I think that's the most simple ide I've used. Currently, I have to use TextPad in school. It's quite annoying to see a school using TextPad and not even having paid for it. So every hour I get a little "buy me now" reminder. Cheap school. But TextPad is about …

Member Avatar for sciwizeh
2
355
Member Avatar for Phaelax

The first thing at the start of every page is "session_start()". Next, each page has the following code. The 'loggedIn' session variable was initialized to 0 with a require_once call of another script. When you log in, the page that did the check will show the login is successful, but …

Member Avatar for johnsquibb
0
154
Member Avatar for kevin wood
Member Avatar for kpkat
Member Avatar for techbrain55

DarkBasic, if you're new to programming, is a great starting point. I've been involved with it for about 8-9 years now. It's more powerful than people will give it credit for. There have been at least 1 or 2 games made in DB that have made it to store shelves. …

Member Avatar for patelmiteshb
0
195
Member Avatar for MisterD

Select the first option. It should then ask if you wish to try to recover a current installation. Don't choose the recovery "console", that's for lots of manual operations that you don't want to bother with. The recovery will reinstall all the system files and leave anything else on the …

Member Avatar for JonComputerGuy
0
127
Member Avatar for aim

Well here's the api docs for JAI if thats what you wanted: [url]http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/index.html[/url] JAI is the only library I know for this, unless you write your own comparison method.

Member Avatar for aim
0
112
Member Avatar for Kusno

Found this, not sure if its quite what you want or not. [url]http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#validtext[/url]

Member Avatar for Phaelax
0
122

The End.