Search Results

Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: quuba ; Forum: Java and child forums
Forum: Java Nov 7th, 2009
Replies: 5
Solved: Blank JFrame
Views: 341
Posted By quuba
Introduce own boolean flag 'pressed' and use it to switch needed behavior
Forum: Java Oct 26th, 2009
Replies: 4
Views: 254
Posted By quuba
First init all components
Used BorderLayout and CardLayout
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.*;

public class...
Forum: Java Oct 23rd, 2009
Replies: 2
Solved: Jbutton array
Views: 497
Posted By quuba
seats[i] = new JButton(String.valueOf(i + 1));
seats[i].addActionListener(this);

public void actionPerformed(ActionEvent ae){
String text = ((JButton) e.getSource()).getText();
//.....
Forum: Java Oct 22nd, 2009
Replies: 4
Views: 204
Posted By quuba
In one loop
for(int i=0;i<Name.length();i++){
ch[i] = Name.charAt(i);
.....
}
for current i , are only defined values ch[0]......ch[i-2]..ch[i-1]...ch[i]
but no ch[i+1] or ch[i+2] ...
Forum: Java Oct 21st, 2009
Replies: 1
Views: 214
Posted By quuba
Line 8: JPanel titlePanel, buttonPanel, dealerPanel, playerPanel;
Line 68: JPanel playerPanel = new JPanel();
Two declaration of playerPanel? First of them is null!
Line 136:...
Forum: Java Oct 21st, 2009
Replies: 3
Views: 214
Posted By quuba
http://itextdocs.lowagie.com/examples/com/lowagie/examples/fonts/styles/FontStylePropagation.pdf
http://itextdocs.lowagie.com/tutorial/fonts/styles/index.php
Forum: Java Oct 20th, 2009
Replies: 3
Views: 570
Posted By quuba
http://java.sun.com/mailers/techtips/corejava/2006/tt0822.html

public void delete(String val) {
current = head.next;
temp = head;
boolean looking = true;
while...
Forum: Java Oct 13th, 2009
Replies: 3
Views: 226
Posted By quuba
comparecase 11:
x2 = Arreglos.existeValor(a);with public static boolean existeValor(int a[], int valor, boolean v) {
existeValor(a) --->missed valor and v parameters in invocation...
Forum: Java Oct 9th, 2009
Replies: 8
Views: 387
Posted By quuba
Try yourself.
Forum: Java Sep 27th, 2009
Replies: 2
Views: 324
Posted By quuba
You are declared panelCenter2, but you still add buttons to panelCenter.
Forum: Java Aug 20th, 2009
Replies: 3
Views: 476
Posted By quuba
String[] splitPath = line.split("\\\\");
Forum: Java Aug 17th, 2009
Replies: 6
Views: 504
Posted By quuba
In release 1.4, the focus subsystem was rearchitected.

Use the piece of code. This adds an AWTEventListener to receive all AWTEvents dispatched system-wide that conform to the given eventMask.
...
Forum: Java Jul 24th, 2009
Replies: 2
Views: 354
Posted By quuba
I working on Windows XP platform, and I am able to get the popup for this JTree.
From api doc java:
public boolean isPopupTrigger()
Note: Popup menus are triggered differently on different...
Forum: Java Apr 19th, 2009
Replies: 6
Views: 566
Posted By quuba
is $120. Invest this sum in your education.
Forum: Java Jan 23rd, 2009
Replies: 2
Views: 482
Posted By quuba
private void processConnection() throws IOException {
String message = "Connection successful";
...
message = (String) input.readObject(); // read new message
...
Forum: Java Jan 15th, 2009
Replies: 2
Views: 387
Posted By quuba
Look at Circular Hough Transform, a Java applet demonstration

http://www.markschulze.net/java/hough/index.html
Forum: Java Dec 17th, 2008
Replies: 10
Solved: Cone Formula
Views: 2,501
Posted By quuba
Generics in the Java Programming Language
Gilad Bracha
July 5, 2004
http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf
Forum: Java Dec 1st, 2008
Replies: 3
Views: 541
Posted By quuba
class TestTable {

public static void displayCity(City c) {
System.out.println(c.getKey());
} // end displayCity

// Main entry point
public static void main(String[]...
Forum: Java Nov 22nd, 2008
Replies: 2
Views: 503
Posted By quuba
http://penguin.ewu.edu/~trolfe/NaturalMerge/PgmAsg/PgmAsg.html
check and compare
quuba
Showing results 1 to 19 of 19

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC