Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~4K People Reached
About Me

sofian

Interests
bbb
PC Specs
aaa
Favorite Forums
Favorite Tags
Member Avatar for sofien.fkih

I am using GUI in netbeans to create a combo box. I want to import all data of a column from database dynamically not manually to a combo box.

Member Avatar for softswing
0
101
Member Avatar for sofien.fkih

I want to count the number of times the button is clicked using GUI. I did this code: private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { int clicked = 0; clicked++; System.out.println(clicked); } But it showing the output "1", each time I click the button. I want every time I click the button …

Member Avatar for JamesCherrill
0
809
Member Avatar for sofien.fkih

I have done the following codes to create a bar chart with the data from DB, and save it as an JPEG file. I wanted to add percentage value anywhere in the table, JDBCCategoryDataset dataset = new JDBCCategoryDataset("", "oracle.jdbc.OracleDriver", "", ""); String query = "SELECT std,id from table"; dataset.executeQuery(query); JFreeChart …

Member Avatar for nandosss
0
128
Member Avatar for sofien.fkih

How can I display a color in java with a certain color, Please help with an example.

Member Avatar for Ene Uran
0
112
Member Avatar for sofien.fkih

I have an sql code that is retreiving a row with more than one line, Is there a way to make it combine those two lines into one line. select revertrsn from LN08PENm where aano in(754,870,1136,1138,1139,1140) the data coming in the row that I am retreiving is like this: As …

Member Avatar for sofien.fkih
0
181
Member Avatar for sofien.fkih

I created a program that is running daily at a certain time, but I want this program to stop at some particular days(week ends), I have used the below codes to set the current time, public int GetDateNow() { Calendar currentdate = Calendar.getInstance(); DateFormat dateformat = new SimpleDateFormat("HHmm"); String datenow …

Member Avatar for mvmalderen
0
97
Member Avatar for sofien.fkih

I did a code which can run cmd of windows from java, and also I stored the result of that cmd in a string variable, my question is is it possible to get a substring from that variable from where I had stored the output of the cmd. I want …

Member Avatar for sofien.fkih
0
222
Member Avatar for sofien.fkih

I have created a csv file, and display data from database into that file, how can I add a pie chart to that file, this is the code which I made: File file = new File("C:/Users/MY TOSHIBA/Desktop/chart.CSV"); Writer output =null; output = new BufferedWriter(new FileWriter(file)); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@ 127.0.0.1:1521:XE","username","password"); …

Member Avatar for sofien.fkih
0
414
Member Avatar for sofien.fkih

I did the coding to create a pie chart file in png format file, the pie chart shows the percentage but in the bottom of the file, I want the percentage to appear in the chart itself, This is the codes I have used, String query = "SELECT name,flag from …

Member Avatar for Taywin
0
454
Member Avatar for sofien.fkih

Hi everyone, I have many executable files which I developed using java language(netbeans platform), which all run at the same time 24 hrs, the problem is that I can't know which one is for which program in the task manager, process tab, because they all have the name of javaw, …

Member Avatar for sofien.fkih
0
266
Member Avatar for sofien.fkih

Hi everyone I am trying to copy one table from one database to another database, so can someone tell me how to that.

Member Avatar for debasisdas
0
51
Member Avatar for sofien.fkih

I'm having a problem of displaying all the data of a column in a text file I can display only the first data, so please someone tell me what can I make to display them together in a text file. Connection con = DriverManager.getConnection(host, uname,password); Statement stmt = con.createStatement(); ResultSet …

Member Avatar for JamesCherrill
0
164
Member Avatar for sofien.fkih

Hi, If I have a value inside the try{} how can I read it outside, is it possible try { int num=0; }

Member Avatar for JamesCherrill
0
79
Member Avatar for sofien.fkih

//Hi, //I want to make an application that sends email; the email need to be taken from an oracle database, I had make the email code and it is working succseeful and also I made the coonection to the database in the next class which is also working successfully, but …

Member Avatar for JamesCherrill
0
343
Member Avatar for sofien.fkih

Hi, I am trying to read a value which is in a class (in a public void) in anothe class and I couldn't do that, so please can someone reply me and tell me how to do that using these code. public class CDB { public static String main(String[] args) …

Member Avatar for JamesCherrill
0
388