No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 children and learning programming.....there you go all you need to know :P
- Interests
- Programming.....learning to spell
Re:
I have just started taking Java as a course in college and I am having a problem understanding how to find the syntax errors in a definition for a class.I am not asking for answers I just need help understanding it more. The class is public class AA { private … |
|
Hi there, I am having some syntax and logical implementation problems with a really very simple requirment and I am hopeing someone can help point me in the right direction. The problem I am having concrens trignometric functions in 3d space and what I am trying to do is find … |
|
Re:
Hi! I have a problem with the array of JTextField components. So, the code is shown below and it can be successfully compiled: [CODE] txtAdminTextFields = new JTextField[nrOfCols]; ... tableAttributes.getColumnModel().addColumnModelListener(new TableColumnModelListener() { public void columnMarginChanged(ChangeEvent e) { for (int i=0; i < nrOfColsFin; i++) { txtAdminTextFields[i] = new JTextField(); txtAdminTextFields[i].setPreferredSize(new … |
|
Re:
[code] // The "ChoseYourOwnStory" class. import java.awt.*; import hsa.Console; public class ChoseYourOwnStory { static Console c; // The output console public static void main (String[] args) { c = new Console (); String start = ("yes"); // assignment 1 while (start.equals ("yes")) { c.println ("A high ranking thug comes walking … |
|
Re:
I get an error in the Eclipse console when trying to run a first person camera using LWJGL & Java. "Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path" I did include the jar's for libraries and I did add the VM argument -Djava.library.path=C:\lwjgl-2.5\native\windows\ Please help. |
|
Hi, I have a problem, I have written a class, inside another class. No problem with that, but I have now come to develop a unit test for the outer class. The JUnit must be able to test the methods of the inner class as well as all other class … |
|
Re:
I am Trying to write a Java Program that animates 4 arcs to make it look like a moving fan. As of now I have the arcs drawn and Im trying to make buttons for my slow, med, fast and off settings Im getting the following errors: DrawArcs.java:6: cannot find … |
|
Hi there, please can some help with this very simple regex. I am coming from c# and trying to get up to speed quickly, so have been trying to create samples for my refrence, however can not get this to work [code] String aString = "0123"; Pattern intPattern = Pattern.compile("^[0-9]{3}"); … |
|
Hi I am a little confused about interfaces. Can an abstract class inherit an interface, so that interface can be used in conjunction of a class derived from the adstract? eg A is an interface, B is an abstarcat class, C & D inherit from B but have different proerties. … |
|
Hi I am slightly confused about interfaces for an inheritance structure. Firstly can anyone explain there purpose, secondly can anyone demonstrate there use. I have created an application that uses reflection to dynamically instantiate classes and invoke methods within those classes. During research for this app I cam accross interfaces … |
|
Hi I am currently writing a PAYE system for a HND project, some of you reading this may have already helped with some of the questions I have posted, and I thank you for the help. However, I have stumbled upon an error that I can not understand. I suppose … |
|
Hi, I have a question a bout a data bound data grid. The grid has 5 columns, the first of which is read only. I thought that setting the column to read only would prevent the user from being able to alter the cell value. However, it apears that I … |
|
Hi, I have a small problem, I am trying to insert a new row into a batabase table using linq to sql. I have Microsoft publication on Linq but it was based on the beta of Linq and does not match the current version completly. I have a class P11Entry … |
|
Hi I am woundering if anyone can help me please. I have a form that has been created during runtime. I can get the name of one control in the collection and want to access a number of other controls that relate to this, they all have a common denominator, … |
|
Hi there, I have a question about Linq and casting from a var data type to list of a specific class. A.)Is it possible, I thought that as Linq was IEnum that it would be simple to cast from the var type to a specific type, but have tried <> … |
|
Hi, I am hoping that someone can help. I am trying to validate and compaire date entries made by a user. The dates represent contract start and end dates. This has a one to many relation ship with a client table. A client can have one or more contracts. However … |
|
Hi i am having alot of trouble understanding how I can triger an event when a bool value changes. I have a very vague understanding that i require a delegate to handle the event ???? and I need to add the event to the event listner with += ???? I … |
|
HI, I am trying to construct a regEx pattern to match a UK tax code. The pattern i have created is "^(/BR{1}/|/D0{1}/|/NT{1}/)|^(([Kk]{1}[1-9]{1}[0-9]{2,3})|([1-9]{1}[0-9]{2,3}[LPTYlpty]{1}))" I thought this would match the codes as BR or D0 or NT or K followed by 3 or 4 digits or 3 or 4 digits followed by … |
|
Hi there, I am hoping someone will be able to help me, I have a datagridview control bound to a linq data source on a parent page. The dataview has a select button col. When the user clicks the button I want to open a new page that will be … |
|
Hi, I'm hopeing someone will be willing to help me with somthing that is probably quite simple. I'm trying to bind a combobox to a data table, however it is supposed to be a foriegn key field, as such I need the items list to be populated from a different … |
|
Re:
Hi everybody, I just want to know whether playing brainstorming game like Sudoku or chess can improve programming concepts. In my opinion, I don't think the way of thinking in programming concepts and in playing chess are the same. Let me know your discussion. Thank you all. |
|
Hi I am having a slight problem with dynamically listing the methods of a selected class. The code I have written is: [code] private void ListMethods(ClassA aClass, ComboBox cmbMethods) { Type type = typeof(Application35.ClassA); foreach(MethodInfo aMethod in type.GetMethods()) { cmbMethods.Items.Add(aMethod.ToString()); } cmbMethod.Visible = true; } [/code] There are a number … |
|
Hi, I have I am trying to create a program for my lecturer, who has asked me to create an application containing a number of different class that all inherit from an abstract class. This has been completed and encapsulated, however in writting the application that utilises these classes I … |
|
Hi, I hope some one can help me out. I am having difficulty returning the point location of an image control in a wpf app. The image is a child element of a canvas. The properties canvas.left and canvas.top have been set at design time. However I need to pick … |
|
Hi I'm hoping someone can help, I am trying to populate an array with image boxes (or whatever the wpf equivalent is referred to as), but I can not figure out how to define the array to be able to access the properties of the controls. Previously, I have done … |
|
Hi please can someone help? I have been pulling my hair out for days trying to understand how to open a XML data store in an application. I don't understand the basic principles, as i have opened it int a dataset using readXml, but then been unable to access any … |
|
Hi all, I am trying to create an xml file and schema that can be oppened by a .net app. However when the app trys to read from the data set, nothing is being held. I think this may be due to an error in the creation of the xml … |
|
Hi I am hopeing someone can help me with extracting and formating the time from an sql server datetime field. I have tried a number of different methods, all of which have returned a runtime error of 800a000d. The following are two methods that I have tried, yet I think … |
|
Hi, I am hoping someone will kindly help me out. I am new to ASP and need to create a connection to an SQL server 2005 database. I have failed misserably at web so far and is my worst subject on the course that i am doing. I understand that … |
|
Hi, i am having a bit of trouble condensing some basic drag and drop code and i am hoping that someone can help me. to reduce code i have created a subroutine to handle the proces, however i still have a large number of event handlers calling this process. I … |