106 Archived Topics

Remove Filter
Member Avatar for server_crash

Is there a really simple mod out there for creating subforums? Specifically for 2.0.16

Member Avatar for Sp!ke
0
358
Member Avatar for server_crash

Take this situation: A Hospital Database containing information on over 800 employees. Which database software would you use? Is Access just as good as mysql?

Member Avatar for freesoft_2000
0
195
Member Avatar for server_crash
Member Avatar for Narue
0
268
Member Avatar for server_crash

I know it's possible to connect two forums to one database, but I don't know where to change the table prefixes. This is phpBB, by the way. I'm using some kind of web hosting tools, so it didn't give me the opportunity to change the prefixes when I installed it. …

Member Avatar for Troy
0
141
Member Avatar for server_crash
Member Avatar for server_crash

Take just this simple method from the graphics class: fillOval()....Why is it abstract? Or better yet, where does it become concrete? I know I've never had to create my own implementation of that method.

Member Avatar for jwenting
0
452
Member Avatar for server_crash

I'm trying to make a simple calculator and whenever I want to add text to the textfield(say a number) it will show up, then will dissapear. [Code] function display(number) { var x = document.form1.displayText; x.value = number; } [/Code] This is how I'm doing it, but why is the text …

Member Avatar for server_crash
0
242
Member Avatar for server_crash

I'm trying to create a calculator using the gridbag layout, but I can't even get started. This layout managers keeps starting stuff in the direct center of the frame and wont put anything anywhere else. I tried this: c.anchor = GridBagConstraints.SOUTH; I just can't seem to get this thing working. …

Member Avatar for SERIAL THRILLA
0
311
Member Avatar for server_crash

I was wondering if someone could point me to some good online tutorials and exercises. I most importantly would like a site with some exercises to help me learn further. I have a book called "JavaScript in 24 hours" and I have to admit, this book is terrible. It teaches …

Member Avatar for shahdhruv
0
348
Member Avatar for server_crash

I've created an html form that allows the user to login, or register. Here is what I've thought about(just for the registration page, not login): HTML FORM --> servlet ---> servlet calls java class that verifys the data, and shoves it into the database... ----> Makes a few tests --- …

Member Avatar for server_crash
0
111
Member Avatar for server_crash

Could someone please tell me how to hyperlink to a page? Say if I had a combobox and the user selected an item, how could I hyperlink to a page?

Member Avatar for server_crash
0
116
Member Avatar for server_crash

I have a "dynamic" JComboBox. What I mean by that is items are removed and added on "the fly". The getSelectedIndex() is returning -1 when an item is selected. I looked this up and it indicates the selected item is not in the list....What in the world does that mean? …

Member Avatar for server_crash
0
100
Member Avatar for server_crash

I started over with reading my certification book, and I'm now on page 113. It says that an interface can extend one or more other interfaces.....I thought you could only extend one thing, or do they mean the interfaces that the extended interface extended?

Member Avatar for jwenting
0
129
Member Avatar for server_crash

I somehow go this virus on my computer that stole my desktop, and wont let me chang it. I think it's called "Trojan-Spy.HTML.Snitfraud.c"....I've tried everything to remove it. I've ran avg, adaware, and spyware doctor, and neither one could remove it. What else should I do?

Member Avatar for DMR
0
518
Member Avatar for server_crash

Does anyone have a few good sites that give you some practice java questions? I'm not tallking about java certification questions, just regular old java questions about the language. I need a lot of them, so please post as many sites as you can.

Member Avatar for server_crash
0
190
Member Avatar for server_crash

I can can use a BufferedReader to open a Streamat the command line, like this: [Code] BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream())); [/Code] Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do …

Member Avatar for Phaelax
0
143
Member Avatar for server_crash

Ok, I'm working with some Strings, and these Strings will get remade up to an infinite number of times, and I know that a new object is created each time. So, which is worse.. Keep using the String, and have the value continously change, or Use a StringBuffer, and continously …

Member Avatar for Paul.Esson
0
332
Member Avatar for server_crash

I've been working on this webcrawler and I've ran into a problem. I can read the first URL and get all the URLs out of the HTML code, but I can't seem to set up a looping structure that will work. This is basically what it does: Searches through html …

Member Avatar for server_crash
0
145
Member Avatar for server_crash

This is kind of a weird senario. This question was at the java state championship I was at a few weeks ago. Here was the question: Which type of class cannot be instantiated: abstract static (choices I can't remember..they were wrong) Would both abstract and static be correct answers? I've …

Member Avatar for server_crash
0
1K
Member Avatar for server_crash

I know you can use j2me for programming on palm pilots and PDA's...At least I think! My question is, does it matter what make/model/ or specs the PDA has to be able to program on it, or be compatible with j2me?

Member Avatar for server_crash
0
149
Member Avatar for server_crash

I have an application that has a fractal already drawn, but I have three JSliders that allow the user to zoom in out, shift the x axis, and shift the y axis. I think it's plotting around 160,000 points, and the refresh is quit noticible. I was wondering if there …

Member Avatar for server_crash
0
207
Member Avatar for server_crash

I started reading this old book about jsp, and I'm having a few problems getting started. First of all, it says that I need to set these environment variables: Java_HOME, and J2EE_HOME. I don't see those, and I don't think their is a need for them, but I can't get …

Member Avatar for server_crash
0
193
Member Avatar for server_crash
Member Avatar for meksikatsi
0
150
Member Avatar for server_crash

How would you put a scrolling message on your application with a seperate thread, sort of like an advertisment?

Member Avatar for jwenting
0
164
Member Avatar for server_crash

I can't seem to remember how you create subitems in the menu's. Does anyone know how? Like this: Format --> Color(then like a drop down) *red *blue *green

Member Avatar for server_crash
0
283
Member Avatar for server_crash

I got this method that encrypts and decrypts text. All of it works fine, except when it comes to spaces. It doesn't convert the spaces correct. If you take a look at it, you might understand. [Code] import java.util.*; public class CustomCypher { public String encryptText(String key, String text) { …

Member Avatar for server_crash
0
76
Member Avatar for server_crash

I'm trying to write this method that takes some parameters from my text editor, and encrypt the text. I got part of it written, but I'm stuck on the next bit. I got the part where you convert the "key", but I just can't figure out what to do next. …

Member Avatar for server_crash
0
318
Member Avatar for server_crash

My applet is not showing up in a web page, and all of the code is correct... I'll post it and the html code: [Code] // import all need packages import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.applet.*; //extend JFrame for the user interface and actionlistener for events public class …

Member Avatar for server_crash
0
106
Member Avatar for server_crash

Does anyone know a good tutorial on parsing math equations? I would use google, but I don't know what to search.

Member Avatar for jwenting
0
118
Member Avatar for server_crash

I had all of this program finished except for the plotting like a week ago...Ever since then, I've been trying to figure out how to plot the stupid polynomials..I thought I had it, but the program seems to go crazy whenever it's suppose to repaint..It's like repainting components on top …

Member Avatar for server_crash
0
128
Member Avatar for server_crash

I have this problem with graphics, actually I know it's with my compiler... If I try to set the background of a button or something I get erros that's not even in my code.. I have this: [Code] btnCalc.setBackground(Color.blue); [/Code] and I get theses errors [Code] //g is already defined …

Member Avatar for server_crash
0
143
Member Avatar for server_crash

I plan on writing an app that will graph polynomial expressions. My question is, what should I draw the graph on? Should I just use the regular frame and use DrawLine(), or is there something like a bitmap, or canvas thing I should use?

Member Avatar for server_crash
0
100
Member Avatar for server_crash

For the AP Comp. Sci. exam, we have to read 150 pages on this stupid program, and my teacher is wanting us to read the teacher's manual of it on the side..Which is another 130 pages...Now, I have heard that the questions on that case study makes up less than …

Member Avatar for AlPhA
0
185
Member Avatar for server_crash

I have a JMenu with some radio buttons...For some reason, when I click the stupid things, they won't do anything...and by that, I mean they want change their state to being clicked(as in the circle being filled)..It's like they are disabled...I'll post the snippets of code with them in it: …

Member Avatar for server_crash
0
145
Member Avatar for server_crash

Let's say I have two classes, Class1, and Class2..... Class2 creates and instance of Class1 and calls one of it's methods like this: [Code] Class 2 { Class1 c1 =new Class1(); c1.myMethod(); } [/Code] Now, that would work...But, could you have just the class variable instead of the class instance …

Member Avatar for server_crash
0
96
Member Avatar for server_crash

I have the datasoure and drivers set up, but for some reason this code is not updating the database. [Code] import java.sql.*; public class TestCreateCoffeeTable { public TestCreateCoffeeTable() { } public static void main(String[] args) { try { String createStatement; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String dataSource = "jdbc:odbc:Coffeebreak"; Connection con = DriverManager.getConnection(dataSource); Statement …

Member Avatar for server_crash
0
144
Member Avatar for server_crash

I'm curious as to how many of you routinely use jdk 1.5 tigers added features, methods, api's and whatever. Or, do you just stick to 1.4?

Member Avatar for nanosani
0
172
Member Avatar for server_crash

I know how to find a directory if I know the full path name of the directory I'm searching for..But, let's say I only know the directory name, and not the full path name..How can I find that directory on a users system? Is there some recursive function or looping …

Member Avatar for jwenting
0
86
Member Avatar for server_crash

Is it possible to update your programs information from other websites? I mean if you have like a stock program or currency program, the data changes everyday. So can you recieve updates from websites, and change this info? If so could you point me to a site that explains how, …

Member Avatar for server_crash
0
75
Member Avatar for server_crash

Does anyone know how you could process an equation, or even get an equation with more than two operands? Right now, in my calculator, I can only have two operands, and I want to have more. Right here is what I have: [Code] import java.awt.*; import java.awt.event.*; import javax.swing.*; public …

Member Avatar for server_crash
0
831
Member Avatar for server_crash

I have this simple calculator I just started on, and I'm having just a few problems. First of all, I don't know how to append text to a textfield. Maybe I would have to create a string buffere or something. Then, when the user clicks one of the buttons, the …

Member Avatar for server_crash
0
166
Member Avatar for server_crash

I've been trying to do this for weeks now, and can't seem to get it to work. I have a JTextPane called textArea2, and I have a variable called doc that gets the document from the textpane. I want to get the selected text but I can't get no code …

Member Avatar for server_crash
0
287
Member Avatar for server_crash

Does anyone know if I can use my linksys wireless g card on the linux platform? I don't see any linux files on my setup cd, nor is there any initial downloads for it that I know of.

Member Avatar for DMR
0
250
Member Avatar for server_crash
Member Avatar for aeinstein
0
121
Member Avatar for server_crash
Member Avatar for server_crash
0
76
Member Avatar for server_crash

I have this code that is suppose to append text to a JTextPane, using the Document method insertString(). I can't seem to get the attribute argument right, so maybe one of you can point me in the right direction... Here is the one line of code giving me problems, just …

Member Avatar for server_crash
0
357
Member Avatar for server_crash

I have a method that counts the number of words in a JTextArea. It works pretty good, except for the fact it counts characters that's not letters as words(such as "!@#$" would be a word)... Here is the code that I have got so far(no erros, compiles and runs fine, …

Member Avatar for server_crash
0
202
Member Avatar for server_crash

I made a text editor with very basic funtionalities. I wrote it all in one class because I really wasn't sure what to put into other classes. Right now the code is pretty messy and I want to rewrite it. I was wondering if anyone could give me some input …

Member Avatar for server_crash
0
180
Member Avatar for server_crash

Is it possible to print wirelessly from a laptop with a linksys g card? I do have a router but not a print server, so i dont know if this is possible or not. If it is, could someone tell me how to do this?

Member Avatar for Sphyenx
0
160
Member Avatar for server_crash

I keep getting a null pointer exception with this code: It's suppose to load a text file into a textArea. [Code] JFileChooser chooser = new JFileChooser(); int returnVal = chooser.showOpenDialog(this); String getFile = chooser.getName(); if(returnVal == JFileChooser.APPROVE_OPTION) { try { FileReader filegetter = new FileReader(getFile); BufferedReader br = new BufferedReader(filegetter); …

Member Avatar for server_crash
0
144

The End.