- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
53 Posted Topics
hello all I wonder how to fill datagridviewimagecolumn with an icon. I mean if I place cursor in rows[2],Cells[3] and then i press right mouse down,then certain icon placed in that cells if I place cursor in rows[4],cells[3] and then press left mouse down,then another certain icon placed in that … | |
hi all is there an installer for jar file ? (hopefully free ware) so client run setup.exe to install jar file ? thank you denny | |
Re: just idea how to create application for people traveling ,to help them find the right train or bus to their target place denny | |
Re: hello if I don't mistakenly understood your case 1.you must put name and password of the user in database ,or in side the code 2.after the user click button to login,user name and password just typed is compared to the strored name and password 3.if both equals then the user … | |
Re: create a point object at the left location using certain interval ,change the x position a litle to the right just idea, denny | |
hello all I create simple software say it's name K.jar ,I place it on desktop I double click it , it run nicely.I close it. I install Nokia Suite (it available on net) When I double click my K.jar ,Nokia Suite run ,my K.jar doesn't run If I uninstalled Nokia … | |
hello all what is the meaning of : "Value@a90653" I just try to print a variable but the result is "Value@a90653" thank you denny | |
hello all how to put more than one JLabel in a vertical direction,and right align by computing the length of each of JLabel.Text so the appearance like below Name: Position: age: thank you denny | |
hello all I need answer for my question Each time I double click exe file , antivirus raise warning that this is an exe file can harm your computer and bla bla bla . My question is : without deleteing anti virus,is there any way to eliminate this warning. Because … | |
hello all I use notepad++ to create my code I use dos command to javac the code some times when there is error in my code the the dos console shows many lines of error message my question is : if the error lines's message is 100 lines or more … | |
hello all how to read from a text file which is not only run at the developer machine but also run at the other machine (after jar ing) I have tried ,the code run at my own machine but cannot find the text file on other machine thank you denny | |
hallo how to detect windows regional setting ,using java code thank you denny | |
Hi all I tried todo javac command on two classes (one after another) the problem is when I javac the first it gives me error ,because class of the second not already exist,the same happen when i javac the second ,class of the first also not already exist. how to … | |
Hi all when I run commend : "C:\LJava\project\KTest2>java -cp .;org.freixas.jcalendar;.\build components.KTest2" my code runs well I then made a jar file with the command "C:\LJava\project\KTest2>jar -cf KTest2.jar .\build\components\*.class" my MANIFEST.MF 's content is : Manifest-Version: 1.0 Created-By: 1.7.0 (Oracle Corporation) Main-Class: components.KTest2 but when I run command "C:\LJava\project\KTest2>java -jar KTest2.jar" … | |
hello all my part of code give me message to recompile with -Xlint:unchecked How to fix this code so the message gone thank you denny [CODE] if(file.exists()) { FileRead fr=new FileRead(); String astring=fr.Read(filePath); System.out.println(astring); /* delimiter */ String delimiter = ","; /* given string will be split by the argument … | |
Hello all I have classes all bundled in a package The name of the package is components All the classes placed in a directory c:\LJava\build\components The names of the clases are a.class b.class and c.class How to jar this package ? I use dos prompt(not net beans) main class is … | |
hello all how to make window's short cut that call command line: java javaclassname.java thank you denny | |
usualy I run java app ( I create by my self) by click it's jar file. How to run it via click an icon on desktop ( how to link between icon and the jar file thank you denny | |
Hello all My question is : how to fill an image into a datagridview cell via keyboard For example by type R in datagridview cell(1,1) , a red circle will occupy that (1,1) cell. thank you denny | |
hi all, Is there simple example out there where image is made by drawing lines on the panel ,and then print it on paper thank you denny | |
Hello all Does Caret Event only for one component only ? I tried to find example for more than one TextField which added with CaretListener,but cannot find one. Anybody know website or has example like I need ? I need to know how to detect which component arise the CaretEvent … | |
hello all how to create image from a text file (only from two or three sentences) thank you denny | |
hello all when I do javac ,I often warn to use -Xlint ,and then the result has one or more warning. As example I attach the javac's result below.The question is how to eliminate warning thank you denny C:\LJava>javac -Xlint -d build src\KwitansiJava04.java warning: [path] bad path element "%classpath%": no … | |
Hi all in code below ,after I got the object aobj ,how can I identify which component aobj actualy is.And where is it Location ? thank you denny [CODE]CaretListener listener = new CaretListener() { public void caretUpdate(CaretEvent caretEvent) { Object aobj=caretEvent.getSource(); Component comp=aobj. System.out.println(aobj.toString()); } };[/CODE] | |
hello all I have one textField and one textArea. How to move the cursor to the end of Text of TextArea when -cursor is in textField,and keyboard [Enter] pressed thank you denny | |
hello all i just learn java syntax to extrac jar file we command : jar xf jar-file but there no information where the extracted files will be located and what is the sign if the command successfull or not any info ? thank denny | |
hello all where is the directory to place file below import com.toedter.calendar.JDateChooser; is it correct if the extracted folders and files be placed in folder c:\com\toedter\calendar\JDateChooser ? or because i place my source file in c:\java\src do i have to place the extracted folders and files in c:\java\src\com\toedter\calendar\JDateChooser ? I … | |
hello all is there available code to remove line numbers in front of each line of a text file thank you denny | |
hello all how to create JTextArea with border look like standard jTextField 's border ? thankyou denny | |
hello all I just learned about addActionListener there are many example about TextField.addActionListener for one TextField only ,but if there are more than one TextField,and all of them have been given Action Listener ,how to differentciate ,from which TextField the Event is come from ? Where can I find example … | |
hello all I fill datagridview Row[0].Cells[0] with the following command dgv1.Rows[0].Cells[(0].Value="-1"; //------------------- how to give color so that the content "-1" in datagridview has red in color (forecolor) thank you denny | |
hello all using ComboBox has it own backward,if the Item are too much ,then the combobox will become very tall (when it call) the other way is using textfield.Which will show selection ,only the items which have the same fist item's Letter with the one we type in. The question … | |
hello all how is the code to move the cursor from textfield1 to textfield2 right after key "enter" pressed ? thank you denny | |
hello all how to know the size of paper through code if I have set the printer printing preference (via windows control panel) ( for instance I have set to A4,landscape) thank you denny | |
hello all I found a problem which I cannot find way to solve I hope some body give a clue how to solve the problem thank you denny the problem------ table1 has 2 fields 1.id int (primary key) 2.datastrings (varchar) datastrings field has 3 rows string1="-1,1,1,-1,1,1" string2="1,1,-1,1,-1,-1"; string3="-1,-1,1,1,1,1" how to … | |
hello all In a cells of a datagridview I place a gif image name new.gif . I can show it immediately after the the form load even I try to print this datagridview cell(0,0) value which is an image name new gif: Object imgobj= dataGridView1.Rows[0].Cells[0].Value; but then I do not … | |
hello all in dataGridView1 I have 2 columns Column fruitname and column fruitpictures The content are : banana (picture of banana) orange (picture of orange) etc How to print the content of the dataGridView1 (including the fruits picture ) ? thank you denny | |
hello all I found the sample code ,but do not understand how the author found the value of width and height in the frame,anyone can tell me ? frame.setSize(120, 285); According to my count the value must be : frame.setSize(110,250); thank you denny [code]import javax.swing.*; import java.awt.Color; public class Traffic_Lights{ … | |
hello all I create a Jpanel ,with TextField For name and password. My question is how to increase My TextField Height,is is veri short ,I need to increase to 300 % of it's now 's height I include partial code below thanks denny [ICODE] JLabel lblnama=new JLabel("NAME"); JLabel lblpassword=new JLabel("PASSWORD"); … | |
Hi all I try to copy paste from a site java example ,there are 3 files,Main.java,Login.java,and LoginDialog.java. I can compile Login.java ,but when I compile LoginDialog.java,it said that it cannot find symbol Login.authenticate (a method in Login.java) I have check that there is this Login.authenticate method to make clearer I … | |
heelo can anybody explain the different between current culture and current ui culture I am a bit confuse about it thanks denny | |
hello all I hope there someone to help ,to point what mistake i have done ,thank you the error message is ex.Message = "Incorrect decimal value: '4000000,00' for column 'Jumlah' at row 1" denny My code always automatically add ",00" at the end of decimal jmldec (only if ccstr=="id-ID") here … | |
hi all in form1 I place 3 button and 1 datagridview ,btn refresh,btnload , btnnew and Datagridview dgv1 1. I change the value of a cells in datagridview (right after Form1 is loaded),and then click btnrefresh 2. I click btnnew to clear the dgv1 3. I click btnload to re … | |
hello all how to express parameter with decimal (which has 2 scale) //---------------------------- mysqlda.UpdateCommand.Parameters.Add("@Name", MySqlDbType.VarChar,40, "Name"); mysqlda.UpdateCommand.Parameters.Add("@Kode", MySqlDbType.VarChar, 8, "Kode"); mysqlda.UpdateCommand.Parameters.Add("@Price", MySqlDbType.Decimal ,10,2, "Price"); //---------------------------- line 3 give me error thanks denny | |
hi all I want to ask what wrong with my code. It gives me error : MySqlException unhandled Incorrect datetime value: '08/03/2011 00:00:00' for column 'Date' at row 1 the code is below: private void btnsave_Click(object sender, EventArgs e) { Thread.CurrentThread.CurrentCulture = new CultureInfo("", false); DateTime datedt = Convert.ToDateTime(tbdate.Text); Decimal … | |
hello all suppose I have fill a datagridview (named it mydgv) ,Can I populate a dataset with the data from the content of mydgv ? if yes how thank you denny | |
hello all I am trying to update a table through a dataset.Shortly I place content of a table in a DataSet ,display it on screen with datagridview ,and then do some changes. finally I do a button click with will do sqlda.Update(ds, "tbl"); //where ds= DataSet, tbl1= the Table I … | |
dear all I am interested to use font which is reside in epson dot matrix printer. How to import the font so that when I use another printer ,I still can print with the same font I ussualy use as if i print with my dot matrix printer. My op … | |
hello all how to count numbar of mysql tables programmatically (c#) thank you | |
hello all how to use mysqldump in my project I see an example : MySqlDump my_dump=new MySqlDump(); but it seem need some reference or something,and won't work without it what should I add to make it give no error' thank you denny |
The End.