Copyright 2008.
All rights reserved
In a table view, memo fields can be traversed with cursor but if you try to select the text of the field, it stops at some fixed point giving an impression that the text is incomplete, I believe it is a buffer problem but I had to check some of my programs for possible faulty table entries at first.
Turkish character display problem (with I, S and G as I can remember has problems) is solved by adding the "-locale tr_TR" (without the double quotes) to the creator.conf file which is located in \Sun\Creator2_1\etc folder. You will also need to change the locale to Turkish in Regional Settings of Control Panel in Windows.
Mac OS's allow characters such as * \ - in filenames. This causes a problem when you need to copy a whole folder to a Windows OS.
"Exception in thread "main" java.lang.OutOfMemoryError: Java heap space"
This is caused when the application needs more memory than defaults;
java -Xms32m -Xmx128m (when you execute with commandline.) to change
java -Xms
Conversion String to Int use; int Integer.parseInt(String)
The original site of this information is http://www.vim.org/tips/tip.php?tip_id=26
and it's a very useful tip, when you have scripts edited in windows and used in Linux. To those having problems with control-M not
displaying as Control-M:You should use the ENTER KEY or Return Key INSTEAD of Control-M.The purpose of the Control-V is to cancel
the special meaning of the ENTER Key. Therefore the key sequence to replace ^M that you may see at the end
of a line is:%s/control-vENTER//control-v will appear as ^Next when you then hit the enter key you will
see ^M The ^ will appear to be written over so what you actually see whenyou type the whole command is::%s/^M//
The fields of this "substitute" command are::(range)(action)/target/repacement string/options% is the range
and is a special character meaning the entire file.It can also be used in place of the name of the file.
example :w %.bakwould write the file you are editing to filename.bak. Range alsounderstands line #s such
as 5,10 or $,10. $ is the current line."s" is the action and means substitute in this casetarget string
and replacement string should be obviousoptions change the default behavior of replace - examples are:i - ignore case,
therefore the target string will be case insensitive g - global, will replace the target multiple times perline if they
exist a better description of the substitute commandis available right in VIM - just type :help substitute
Strangely in my Debian system vim showed the script correctly and without ctrl-m's(probably encod-ing, but the
script still did not run), so you may need to open it with vi to use the substitution trick.
A great tool to make your wireless network card/usb stick work with Linux. Just get the latest from ndiswrapper.sourceforge.net/ The one that comes with your distribution may not be free of latest bugs. Install it to the system with apt or dpkg. Then get the windows drivers of your card and copy them alltogether to a dir. Compile the ndiswrapper with make and then make install(you will need your version of kernel headers to compile, use apt or synaptic to install the headers). Follow the instructions that come with the package to load your driver. I have used it with a PCMCIA and USB card with no problems. If your kernel gets upgraded, you will need to recompile ndiswrapper. Don't forget to install the new kernel headers before running make, make install.
Displaying columns as numbers in excel. I needed it to use a highly dimensional table in another program. R1C1 Reference Style: On the Tools menu, choose Options, on the General tab check R1C1 Reference Style. Note how the formulas change accordingly.
I have read some posts that they could not get the Studio Creator work with Java 1.6. I tried these settings and had no problem with it. To use with Java 1.6(or 6 if you like), first go to etc folder and change the netbeans_jdkhome to the 1.6 JDK folder you installed and then in the project folder, project.properties file, edit javac.compilerargs=-source 1.6 javac.source=1.6 and javac.target=1.6. It works both in Linux and Windows XP.
In a function that you declared to return something(other than void I mean), even if there is a return in a loop or conditional and in all circumstances it has to execute, the compiler requires you to put a return out of the loop or conditional. The Visual Studio C++ is more clever in guessing whether those return's are enough.
Use this to see stored passwords."rundll32.exe keymgr.dll, KRShowKeyMgr"
These are like environment variables in OS. Use the System.getProperties and System.setProperties() methods. To set, you will need the java.util.Properties class. Do not forget to add the current properties to your object to avoid overwritingthem.please check these links:http://scv.bu.edu/Doc/Java/tutorial/java/system/properties.htmland http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperty (java.lang.String)
It is actually very simple. Download the bin file from the Sun website, then execute the bin and select your home directory. That's it, you don't need a deb package! When you want to remove it, just delete the folder.
You will need the synaptics package. It has supports both the synaptics and Alps touchpads. After installing read the readme file in /usr/share/doc/x-server-xorg-input-synaptics/If you have the latest kernel then you will probably not need the patch for Alps. The only changes I had to make was to edit the xorg.conf file in /etc/X11 and add to the synaptics (which the installation created I guess) section the CorePointer option and remove this option from mouse. And then add the lines from sample Alps configuration from the Alps readme file in the folder of x-server-xorg-input-synaptics. The configuration has too many little options for pressure etc, which I believe is hard to find the working combination yourself. Once you have the tapping andscrolling get to work this way you can just play with the options to fine tune. Synclient is a good tool in the same package to change the parameters without restarting X(ctrl-alt-backspace).
I haven't implemented it myself yet but this tutorial definitely solves an important problem I encountered. http://www.developertutorials.com/tutorials/java/simplify-application-delivery-one-jar-050422/page1.html
The download link is here. If you ever encounter the same problem with the volume 2 of Ticpp, the solution is simple, open the file in linux in a viewer and then save it again. There may be a simpler solution but it works anyway. I did not care much about the source of the problem.
Levent Guner