This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!

Mohd Zaki Mohd Salikon

Greenhorn
+ Follow
since Dec 16, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mohd Zaki Mohd Salikon

I means, do you have a source code for data structures modul(heaps and hash topics). Thanks...
15 years ago
Hi..
I'm searching a basic source code to learn the data structures modul topic in heap and hash. Can I get it? Thanks...
15 years ago
What is scripting language?Is it same with higher level language such as Java?
16 years ago
Below is a subprogram. It shows the output with looping using integer keydata (while j==1).
1. How to convert the integer statement (1) to character statement ('Y')?
2. How to clearscreen the previous statement? In C language, we can insert clrscr(); with #include<conio.h>.

public static void main(String args[]) throws IOException
{
BufferedReader input = new BufferedReader
(new InputStreamReader(System.in));

String input_jawap;
int j;
do{
//statement
input_jawap = input.readLine();
j = Integer.parseInt(input_jawap);
}while(j==1);
}
16 years ago
Jar
How to Make Jar files....
I have been tried but still not successful...
16 years ago
1. How to show the variable in textField from another class to main class?
2. If I change the variable, the another class is also change.
16 years ago
I got a new problems. When I run my programs, there are smoothly build. On the way to get the output, programs become stuck. This message was appear:

java.lang.OutOfMemoryError
<<no stack trace available>>
16 years ago
I got a new problems. When I run my programs, there are smoothly build. On the way to get the output, programs become stuck. This message was appear:

java.lang.OutOfMemoryError
<<no stack trace available>>
Hi...

1. Can anybody show me how to arrange all(textField,Label,button) in one main frame? I got a problem using GridLayout(_,_). The GridLayout was difficult to arraged. Thanks...
16 years ago
Hi...

Can anybody show me how to arrange all(textField,Label,button) in one main frame? I got a problem using GridLayout(_,_). The GridLayout was difficult to arraged. Thanks...
16 years ago
I can't get the output:
Why???

There is the output:
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)

where options include:
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
Press any key to continue...
16 years ago
Hi...
1. How to put time&date to window using java.awt or java.awt.event?
2. How to insert the progress bar with a lot of selected variable and show the functions?

thanks.
16 years ago
Thanks David Harkness. U gave the solutions of that problems.
The problems is in the databases have a different types. The original database is declared as an integer but I was change as a text.

The declaration of Matrik:
Vector matrik = new Vector(9000,1);

The source code:


try {

String query = "SELECT Distinct Matrik FROM AmbilKursus ";
ResultSet rs = stmt.executeQuery(query);
String dat;

while (rs.next()) {
dat = rs.getString("Matrik");
if (dat != null)
matrik.addElement(dat);
}
int n=matrik.size();
subjek = new Vector[n];
System.out.println("Membaca subjek " +n+ " pelajar....");
for (int p=0; p<matrik.size(); p++) {
query = "SELECT Kursus FROM AmbilKursus Where Matrik = " + matrik.elementAt(p);
rs = stmt.executeQuery(query);
System.out.println((p+1));
subjek[p] = new Vector(1,1);
while (rs.next()) {
subjek[p].addElement(rs.getString("Kursus"));
}
Opss...I'm very sorry. It's 1st column. The original data was declared as a number but I changed as a text.

The original data:
Matrix
12345
45211

The currently:
Matrix
AI123
AC254