Forum: Java Jan 23rd, 2009 |
| Replies: 3 Views: 298 As I said I'm new to java, and I don't think it swing is a problem, I'm learning..... anyway thanks for your advise. |
Forum: Java Jan 23rd, 2009 |
| Replies: 3 Views: 298 import java.awt.EventQueue;
import javax.swing.JFrame;
public class tatat extends JFrame {
private static final long serialVersionUID = 1L;
public static void main(String args[]) { |
Forum: Java Oct 15th, 2008 |
| Replies: 4 Views: 716 |
Forum: Java Oct 14th, 2008 |
| Replies: 4 Views: 716 Actually this is not .jar files. It is java source files. |
Forum: Java Oct 13th, 2008 |
| Replies: 4 Views: 716 Hi there,
I'm unable to run the demos java files. I followed the ways according to the prefuse tutorial. It says,
1) Go to "build" folder
2) Launch demo of interest
java -cp... |
Forum: Java Sep 30th, 2008 |
| Replies: 4 Views: 1,107 |
Forum: Java Sep 29th, 2008 |
| Replies: 4 Views: 1,107 I've read it there, still not sure, that's why I posted here.
1. Which one is more user friendly
2. Which is best suited for both beginner and advance user |
Forum: Java Sep 29th, 2008 |
| Replies: 4 Views: 1,107 Eclipse IDE for Java Developers (85 MB) Vs Eclipse Classic 3.4.1 (151 MB)
Just wanted to know. Please advise. |
Forum: Java Aug 25th, 2008 |
| Replies: 5 Views: 933 I know, but it did not work. |
Forum: Java Aug 23rd, 2008 |
| Replies: 5 Views: 933 I tried, not working. Please advise. |
Forum: Java Aug 23rd, 2008 |
| Replies: 5 Views: 933 /*
* IconDisplayer.java is a 1.4 application that requires the following files:
* images/rocketship.gif
*/
import java.awt.AlphaComposite;
import java.awt.BorderLayout;
import... |
Forum: Java Aug 21st, 2008 |
| Replies: 2 Views: 434 Thanks, will try it n update it here. |
Forum: Java Aug 21st, 2008 |
| Replies: 2 Views: 434 import javax.swing.*;
import java.awt.*;
public class CreateToolbar{
public static void main(String[] args) {
JFrame frame = new JFrame("Create a toolbar Which have three buttons Such as:... |
Forum: Java Jul 20th, 2008 |
| Replies: 4 Views: 1,368 Thanks for all your advises. |
Forum: Java Jul 19th, 2008 |
| Replies: 6 Views: 2,050 Yes, I'm currently working on Pseudo-Code. Trying to optimize the Pseudo-codes. |
Forum: Java Jul 19th, 2008 |
| Replies: 4 Views: 1,368 Netbeans IDE
Eclipse IDE
IntelliJ IDEA
Which from the above the the BEST, USER FRIENDLY, COMPLETE IDE to use to design/create GUI for Java based programs. Please advise. Thanks. |
Forum: Java Jul 19th, 2008 |
| Replies: 6 Views: 2,050 I understood the Algorithm, just I don't really know how to apply it in Java. I never used Java before as all these while I'm with PHP. Thanks for your advise. |
Forum: Java Jul 18th, 2008 |
| Replies: 6 Views: 2,050 I doing a project about Genetic Algorithm (GA). I'm looking for some book that shows GA in Java. Please advise.
Books
Websites
Journals
White Papers/ Publications |
Forum: Java Apr 21st, 2008 |
| Replies: 2 Views: 945 Thanks for the suggestion, will give a try |
Forum: Java Apr 20th, 2008 |
| Replies: 2 Views: 945 package midp.firstAid;
import javax.microedition.lcdui.*;
public class AboutCopy extends Basic {
public AboutCopy()
{
super("About Product");
append("Copyright... |
Forum: JavaScript / DHTML / AJAX Apr 20th, 2008 |
| Replies: 2 Views: 1,180 Thanks for the advise, solved. |
Forum: JavaScript / DHTML / AJAX Apr 18th, 2008 |
| Replies: 2 Views: 1,180 var cBrand = document.getElementById('cBrand');
var cType = document.getElementById('cType');
var cStyle = document.getElementById('cStyle');
var cFrame = document.getElementById('cFrame');... |
Forum: JavaScript / DHTML / AJAX Apr 18th, 2008 |
| Replies: 2 Views: 709 Thanks for your advise, will follow and update here soon. |
Forum: JavaScript / DHTML / AJAX Apr 17th, 2008 |
| Replies: 2 Views: 709 Hi,
How to this type of validation using JavaScript?
Scenario
In my SEARCH page, user was given 5 types of field(drop-down menu) to choose from. User can select either 1, 2,3,4 or all... |
Forum: JavaScript / DHTML / AJAX Mar 24th, 2008 |
| Replies: 5 Views: 4,697 can u help me to solve isFloat, pls. |
Forum: JavaScript / DHTML / AJAX Mar 23rd, 2008 |
| Replies: 5 Views: 4,697 <html>
<head>
<script type="text/javascript">
function validateFloat()
{
var o = document.frmInput.txtInput;
switch (isFloat(o.value))
{
case true:
... |
Forum: PHP Mar 13th, 2008 |
| Replies: 4 Views: 835 no problem with the upper, managed to solve myself. Thank you very much for your reply. |
Forum: MySQL Mar 13th, 2008 |
| Replies: 2 Views: 870 managed to solve myself. Thank you very much for your reply. |
Forum: MySQL Mar 13th, 2008 |
| Replies: 2 Views: 870 $result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'");
Above code is not working, pls help. |
Forum: PHP Mar 13th, 2008 |
| Replies: 4 Views: 835 $result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'");
Above code not working, pls help. |
Forum: PHP Mar 11th, 2008 |
| Replies: 7 Views: 5,669 * echo part in both codes was temporarily changed to save page.
the actual echo was;
<?php
//echo "You have been successfully logged out.
echo "
<html>
<head> |
Forum: PHP Mar 11th, 2008 |
| Replies: 7 Views: 5,669 auth.php
<?php
// start session
session_start();
// convert username and password from _POST or _SESSION
if($_POST){
$_SESSION['username']=$_POST['username'];
... |
Forum: PHP Mar 8th, 2008 |
| Replies: 3 Views: 548 |
Forum: PHP Mar 8th, 2008 |
| Replies: 3 Views: 548 echo "<td align=center style='width: 30px'><strong><a href='' . $link1 . '' style='color: red'>CID</a></strong></td>";
Is this part properly coded
<a href='' . $link1 . '' style='color: red'>... |
Forum: PHP Mar 7th, 2008 |
| Replies: 4 Views: 1,003 Situation:
The auth.ph was placed on every single page of my except the index.html and logout.php. I want to access direct to an admin type page (e.g. localhost/cycle/addlist.php) it would prompt... |
Forum: PHP Mar 7th, 2008 |
| Replies: 4 Views: 1,003 Thanks buddylee17, the thing is, I'm calling this auth.php in every page, I've already tried the method you mentioned above, after you logged in successfully, The echo statements will be on every... |
Forum: PHP Mar 7th, 2008 |
| Replies: 4 Views: 1,003 <?php
// auth.php
// start session
session_start();
// convert username and password from _POST or _SESSION
if($_POST){
$_SESSION['username']=$_POST["username"];
... |
Forum: PHP Mar 6th, 2008 |
| Replies: 3 Views: 601 |
Forum: PHP Mar 6th, 2008 |
| Replies: 3 Views: 1,488 Thanks all, solved. used both the codes. |
Forum: PHP Mar 6th, 2008 |
| Replies: 3 Views: 601 <?php
// connect to database
include("inc/connect.php");
// include auth and nav
//include("inc/auth.php");
// begin content
//include("inc/nav.php"); |