46 Archived Topics

Remove Filter
Member Avatar for Dean_Grobler

Hi there, I'm in the process of creating a utility program that builds a table in a database and inserts the initial data. I'm getting an error stating: java.sql.SQLException: No suitable Driver found for jdbc.odbc.ContactKeeperDB My Code: [CODE] import java.sql.*; import java.io.*; public class MakeDB { public static void main(String …

Member Avatar for jwenting
0
243
Member Avatar for Dean_Grobler

Since some of us might get a bit rusty with our coding, we constantly need projects to keep us busy, no matter how big or small. Making sure you code a little a day it not only fun but also allows your skills to continue growning. The problem though, is …

Member Avatar for JamesCherrill
0
758
Member Avatar for Dean_Grobler

Hey guys, I'm working on Ubuntu 10.04. I use Eclipse as my IDE, but now I want to install the Android ADT plugin for eclipse(as seen [URL="http://developer.android.com/sdk/eclipse-adt.html"]here[/URL]). Now the thing is, that I don't have internet connection on the machine that has Eclipse running so I can't simply go to …

Member Avatar for bettybarnes
0
955
Member Avatar for Dean_Grobler

Hi there, I have a machine with 2 harddrives. One has Windows 7 installed and the other has Windows 8 Consumer Preview installed. Since my Win8 is my primary, it starts up into windows 8 without even showing the bootloader. Is there a way for me to go add the …

Member Avatar for sylprose2
0
460
Member Avatar for Dean_Grobler

Hi there, Last night I switched to Ubuntu 10.04 (no, not 10.10, long story). And I wanted to get started programming as soon as possible, so I'm trying to find out how to install Eclipse Helios and the Java JDK 1.6 on my machine? Please note that [B]my machine is …

Member Avatar for newpaulman
0
356
Member Avatar for Dean_Grobler

Hi guys, So like the post header suggests. What is the best email address to use with your own-name domain? Mine is deangrobler.com. Currently the address is [email]dean@deangrobler.com[/email] but that just seems to have too many 'deans' in there. Any other creative ideas?

Member Avatar for shineyray
0
222
Member Avatar for Dean_Grobler

Hi there, I have no prior website design experience and I'm taking up in re-designing a family business site. I do have knowledge in Java, HTML and CSS, but I don't have the knowledge of what "standards" a site should adhere to (if any). As in, what should a home …

Member Avatar for ayubcbe
0
786
Member Avatar for Dean_Grobler

Hi there, I'm having a rather bad morning today and my brain is being stupid. I have an ArrayList containing String Arrays. How do I convert my ArrayList to a 2D Array? What I have: [CODE] ArrayList<String[]> transactionList = new ArrayList<String[]>(); String[] resultSetRow = {"String1","String2","String3","String4","String5"}; int resultsSetRowSize = resultSetRow.length; for(int …

Member Avatar for peter_budo
0
1K
Member Avatar for Dean_Grobler

Hi there, I just want to find out if one can create a "strpied filled rectangle" as seen in the attached pic in photoshop? This might be more of a job for Illustrator but since I only have photoshop I have to make do. I'm not sure if one can …

Member Avatar for matricol
0
128
Member Avatar for Dean_Grobler

Hey guys, Okay, tough one. How exactly would we go about integrating Biometric scanners (e.g. fingerprint scanners) with our software? The way I see it, the scanner scans a finger print, and then saves that data in a database, but what data is this? What file type? This is probably …

Member Avatar for rubberman
0
161
Member Avatar for Dean_Grobler

Ello, Does anyone know of some 3rd party libraries that can simplify working with XML through Java, because as we all know the normal SDK's libraries are terrible.. Thanks in advance!

Member Avatar for Ezzaral
0
155
Member Avatar for Dean_Grobler

Hey guys, So first of all, after lots of job hunting I finanly got an interview and a call this morning telling me that I got the job. I'm going to be working as a Junior Developer. This is my [B]first[/B] IT job, and don't know what the enviroment is …

Member Avatar for NETProgrammer
0
167
Member Avatar for Dean_Grobler

Hi there, The thread title pretty much says it all. How exactly do you send data to, and from portlets? Does it have something to do with the RenderRequest and RenderResponse objects? I haven't a clue... There's hardly any information on the net regarding portlet development, very frustrating. Thanks in …

Member Avatar for peter_budo
0
115
Member Avatar for Dean_Grobler

I'm actually taking a chance here hoping that someone will know what font this is. Bellow is an image of a companies logo, what I want to know, is what font is being used? It could be that this 'font' was custom made for this specific logo... OR, it could …

Member Avatar for pgmco
0
121
Member Avatar for Dean_Grobler

Hey there, I'm stuck in a rut at the moment trying to figure something out. I have a class, that has 4 methods. method1(), method2(), method3() and whatMethod()... whatMethod() accepts a String and then decides what method to execute based on the received String. Say the String that was sent …

Member Avatar for JamesCherrill
0
290
Member Avatar for Dean_Grobler

I understand this is not Java related, but since [B]a lot[/B] of Java Developers out there use Netbeans as their IDE. I figured that I'll get help here easier. Anyways, I downloaded Netbeans 7 (the full version), and tried installing it on Windows 7. The installer starts, and right after …

Member Avatar for mKorbel
0
270
Member Avatar for Dean_Grobler

Hey guys, I've taken on a project where I have to code an applet that gathers information and sends it to a database. The thing is though, that the client's website is being hosted by some other unknown company. I have the impression that in order for this to work, …

Member Avatar for masijade
0
370
Member Avatar for Dean_Grobler

Hey C# people, Sorry for my topic title, I honestly didn't know what else to call it. I'm a Java developer and I'm looking into learning C#. I've read up a bit on it but I'm rather confuzed (as expected)... 1) Firstly, in java you can choose to use an …

Member Avatar for ddanbe
0
351
Member Avatar for Dean_Grobler

Hi there, I would just like to know if anybody here knows of websites that offer royalty free photos? Free, royalty free photos. I've looked at sites like iStock.com but one still has to pay like $1 or something stupid, otherwise the photos has ugly iStock watermarks over... Looking for …

Member Avatar for Anna Hussie
0
151
Member Avatar for Dean_Grobler

Hi there, Just want to find out what the "standard" size would be for a background image that I'm planning to use in my site. The backround image will be fixed. Thanks guys,

Member Avatar for Kraai
0
153
Member Avatar for Dean_Grobler

Hello, I've attached an image of a layout for a site that I designed in PhotoShop. If you look at the Navbar you'll see that I've gave it a 'glossy/glasy' effect. Im new to web development, but I know there is no CSS on the planet that can do that. …

Member Avatar for Dean_Grobler
0
146
Member Avatar for Dean_Grobler

Hi there, I would just like to know from the Android developers here what books they would recommend for starting out with Android? Also, how diferent is it coding Android from the Core Java API's? Thanks!

Member Avatar for peter_budo
0
100
Member Avatar for Dean_Grobler

Hi there, I know I should've probably posted this in the hardware trouble shooting forums, but considering people only visit those forums on Tuesdays if it's full moon every million years (you get the point) I thought I'll get a quicker response here.. My CD Drive keeps on opening randomly …

Member Avatar for rubberman
0
139
Member Avatar for Dean_Grobler

Hi there guys, I recently swtiched to Ubuntu Lucid, and just want to know if there is something like an "App store" for Ubuntu apps? Since my Ubuntu machine is not connected to the net, i can't use the software centre. So I have to download the packages and install …

Member Avatar for Dean_Grobler
0
248
Member Avatar for Dean_Grobler

Hi there, I understand that this question might be better off in "hardwareAndSoftware/LinuxAndUnix/LinuxApplicationsAndSoftware". But the truth is, that it takes for ever for someone to respond to posts there, because I don't think anybody visits that forum alot. Anyways, back to the point... I'm trying to install the Java 1.6 …

Member Avatar for mKorbel
0
260
Member Avatar for Dean_Grobler

Hi there guys, I would just like to know how I would go about by searching through a <select> list in an HTML page? I assume one would use JavaScript for something like this. On the HTML page there's a textbox which the user can type in a keyword, and …

Member Avatar for haleel
0
7K
Member Avatar for Dean_Grobler

Hello there, I have a JSP page that has a couple of images in, when I type the address of the JSP directly in my browser the page loads, with images and all. But when I go the page, through my servlet [RequestDispatcher.forward()] the page loads but the images are …

Member Avatar for javaAddict
0
1K
Member Avatar for Dean_Grobler

Hello there, This is just a quick question. You know that servlets respond by printing out dynamic HTML code? Well, is it possible that instead of doing that, the servlet just redirects back to the HTML form that send the servlet the Form data in the first place? myHtml(sends form …

Member Avatar for Dean_Grobler
0
290
Member Avatar for Dean_Grobler

I'm busy working with servlets now and when I try and compile them, I get erorrs stating that it can't find javax.servlet etc. Getting errors where I do the import statements to them. So apparently I have to add that servlet.jar file to the CLASSPATH? And that file can be …

Member Avatar for peter_budo
0
659
Member Avatar for Dean_Grobler

Helew! I just wana know if someone might have an idea of how I can go about doing this: So attached I have a little example I whiped up. Say you have 3 buttons, button1, button2, button3. What I wana do, is when you click [B]button1[/B], it will magicly turn …

Member Avatar for javaAddict
0
117
Member Avatar for Dean_Grobler

Hi there, I am getting a 'Cannot find symbol error' on an array in my "ViewContact" Class. The array has been created in the "MainScreen" class. Below I have pasted the code for both classes as to provide you with as much information as possible: The MainScreen Class: [CODE] package …

Member Avatar for Dean_Grobler
0
709
Member Avatar for Dean_Grobler

Hi there, This is just going to be a quick question. Also just note that I am i some "remote location" so I cant even show you my code. But what I want to know is this: Say you have a package called "myPackage" and inside that you have 2 …

Member Avatar for JamesCherrill
0
143
Member Avatar for Dean_Grobler

Hi there, I'm getting an error saying: non-static variable MainList cannot be referenced from a static context. My snippet of code where the error is occuring: [CODE] //this method is in a class called ViewContact public void printInfo(){ int index = MainScreen.MainList.getSelectedIndex(); } [/CODE] Now the List "MainList" is in …

Member Avatar for JamesCherrill
0
128
Member Avatar for Dean_Grobler

Hi there, In my little code snipet below I am trying to convert an arraylist to an array of type contact. Obviously it's expecting an arraylist of type contact to convert it to an array of type contact. But it's picking up the arraylist as type object for some reason. …

Member Avatar for Dean_Grobler
0
140
Member Avatar for Dean_Grobler

Hi there, A thread was started earlier about splitting up a String using the split() method of the string class. Reading that did help me quite a lot in solving a problem of mine that is VERY similiar. Say I have this in a txt file: "Dean Grobler 0794400541 NA …

Member Avatar for Dean_Grobler
0
179
Member Avatar for Dean_Grobler

Hello there, In one of my projects I'm working on currently. I have a 'cancel' button in my GUI window that is suppose to close the JFrame the button resides in. I have done some research on the web about this. But it seems like one has to write a …

Member Avatar for masijade
0
132
Member Avatar for Dean_Grobler

Helooo, Attached is a pic of my main screen of my program. Basicly it's a phone book app similiar to one you'd have on your phone. The thing that I can't wrap my mind around, is that you see the nice big textArea there? After you've added a contact now. …

Member Avatar for masijade
0
175
Member Avatar for Dean_Grobler

Hi there, Consider the following code, this is a little 'snipet' from one of my classes: [CODE] private void jMenu1ActionPerformed(java.awt.event.ActionEvent evt) { NewContact n = new NewContact(); } [/CODE] The method is expected to open a new Frame, where the class of the new Frame is called "NewContact". I've recently …

Member Avatar for JamesCherrill
0
374
Member Avatar for Dean_Grobler

Hi there, I just wanted to find out if one can have a actionListener() in one .class file and then have the actionEvent() in another .class file? If not, how would I go about to get the same effect? Thanks!

Member Avatar for Dean_Grobler
0
450
Member Avatar for Dean_Grobler

Hello! Attached is a file (GUI.png), I quickly did this in excel so.. It looks pretty crappy obviously. But when you take a look at the image and the layout of the components etc. What would you say is the best LayoutManager to use with this? GUI design is fun, …

Member Avatar for Adil Ahmed Zeb
0
135
Member Avatar for Dean_Grobler

Hi there, In the code below my ImageIcon isn't showing when I run the program. I always struggle with adding Images in my GUIs and it's irritating. Is there some all important rule that I should know or something? [CODE] //Create window Components JLabel lblrequest = new JLabel("Enter amount of …

Member Avatar for JamesCherrill
0
4K
Member Avatar for Dean_Grobler

Hi there, I've just switched to Eclipse. I've been using TextPad so Eclipse is pretty cool.. But I've been getting weird error messages that I don't understand/not used to. Here they are: [CODE]JButton btnEnter = new JButton("Enter"); btnEnter.addActionListener(this);[/CODE] Here the Error says: Multiple markers at this line. -Syntax on token …

Member Avatar for Dean_Grobler
0
200
Member Avatar for Dean_Grobler

Hi guys, I have this assignment to do: Synchronize access to the instance variable, accBalance. Because accBalance is a double and not an object, it cannot be used as the monitor. Use synchronized methods or synchronized blocks of code, as appropriate. Simultaniously test two threads. Because the threads can complete …

Member Avatar for Dean_Grobler
0
149
Member Avatar for Dean_Grobler

Hi there guys, I got this assignment where I need to set a session attribute. Although I'm having problems since I cant set attribute that is of type double? I got these hints but since I've worked with doubleValue() or downcasting, the hints didn't help me much.. Hints: -Recall that …

Member Avatar for Dean_Grobler
0
239
Member Avatar for Dean_Grobler

I'm struggling with a servlet that's suppose to represent an "online banking service". Once you run the servlet you'll see it's an extremely simple example... You enter an amount in the textfield provided, then click on the apropriate button depeding what action you want to perform e.g. "deposit","withdraw" and "balance". …

Member Avatar for martin5211
0
98
Member Avatar for Dean_Grobler

Hi all, Does anybody know what this "WSaction" is? What it does and most importantly how it works? I've tried googling this but hardly found ANYTHING.. I'm busy working with Servlets and as far as I can tell it checks what button was pressed in the HTML form.. But I'm …

Member Avatar for Dean_Grobler
0
104

The End.