Tip Bank

DevX - Software Development Resource

Converting from String to Integer or Float

Question: How can I convert a String type value to an integer or float?For example,String str=”155.230″;float real;real = str.HowCanIConvert???????; I’ve tried it like this:Integer aValue = new Integer(String.valueOf(“1”)); But this

DevX - Software Development Resource

Difference Between Instance and Object

Question: I am 14 years old and a new Java programmer. I would like to know the difference betweenan instance and an object.I am learning Java from the book Teach

DevX - Software Development Resource

Inserting rows without retrieving data

Question: I have a very large table that contains thousands of rows. I want to let a user insert new rows into it on a particular form without having to

DevX - Software Development Resource

Eliminating toolbars

Question: How do I eliminate the toolbar for a form? Answer: To eliminate the toolbar from displaying for a particular form, add the code: Self.SetToolbar(NULL) to the InitializeWindow() method for

DevX - Software Development Resource

How can I add text to the graphs control

Question: I’m building some process control software and I need to addlabels, such as Upper Control Limit (UCL), into my chart. Answer: The graph control was added to PowerBuilder in