Search:

Type: Posts; User: relixus

Page 1 of 2 1 2

Search: Search took 0.19 seconds.

  1. Replies
    2
    Views
    971

    Re: about Abstract class

    here you go. Let me google that for you
  2. Replies
    5
    Views
    1,584

    Re: Stacks problem-help

    please do your own assignments and ask us for hints if you are sruck somewhere.
  3. Replies
    1
    Views
    960

    Re: Change the circles to start

    your hint is between these lines. try changing the fillOval method to fillRect and you get rectangles instead of ovals. now find a way to draw the stars using drawPolygon method.



    while (y <...
  4. Replies
    4
    Views
    1,146

    Re: Adding the integers of a number

    does it print the result as "2+3+4=9" or it will add all the numbers producing 9 as a result?

    i will assume you are looking for the former output. first you have to separate all numbers and add...
  5. Replies
    0
    Views
    3,302

    [SOLVED] Splitting String by Multiple Delimiters

    hi,

    i am trying to create a custom textbox that will calculate number inputs. i am having trouble splitting the text, i hope u can give me an insight to this.

    suppose i have the String
    ...
  6. Replies
    3
    Views
    2,098

    [SOLVED] Re: MD5 hash and MimeMessage problem

    try this. hope it helps...



    public String toMD5Hash(String str) throws NoSuchAlgorithmException{
    MessageDigest md = MessageDigest.getInstance("MD5");
    ...
  7. Replies
    7
    Views
    1,999

    [SOLVED] Re: Socket Programming Problem

    i already got it.. hehehehehe... thanks anyways..
  8. Replies
    7
    Views
    1,999

    [SOLVED] Re: Socket Programming Problem

    hmm.. do i have to forward the port even im just running it on local machine?
  9. Replies
    7
    Views
    1,999

    [SOLVED] Re: Socket Programming Problem

    for now im trying to run it on localhost, then if i get it to work im gonna run it on a remote machine, 192.168.5.236 is the localhost's IP, i tried changing that lo "localhost" still doesnt work.
  10. Replies
    8
    Views
    4,885

    Re: Jtextfield Validation

    Why dont you try JFormattedTextField instead?
  11. Replies
    7
    Views
    1,999

    [SOLVED] Socket Programming Problem

    hi all,
    i am trying o study socket programming in java and trying to create a simple chat program, i found this code on a tutorial on web and tried playing with it, the problem is it seems it cant...
  12. Replies
    2
    Views
    1,768

    Re: Data Transmission

    so it can be done without using java? its like i want a transmit button on my UI and when the user presses it, data from my SQL table shall be copied into another server.
  13. Replies
    2
    Views
    1,768

    Data Transmission

    hi everyone,
    im trying to create an application that will transmit data from one mySQL server to another via internet. Im wondering if anyone knows what trail should i start to learn to accomplish...
  14. Replies
    3
    Views
    1,877

    Re: How I can create those shapes with Java?

    i see.. do u use NetBeans IDE?

    compile this class and drag it to your workarea, see what happens.



    import java.awt.Graphics;
    import java.awt.Polygon;
    import javax.swing.JComponent;
  15. Replies
    4
    Views
    1,863

    Re: class extending

    isn't your application frame a subclass of jframe? if it is not u can do this then:

    public class ApplicationFrame extends JFrame{

    }

    public YourClass extends ApplicationFrame{

    }
  16. Replies
    8
    Views
    3,589

    Re: JTextField getting text values

    okay here's what i found in your code




    public class Test extends JPanel implements ActionListener {
    // I MADE IT STATIC SO THAT WE CAN USE IT ON createAndShowGUI
    static JTextField...
  17. Replies
    3
    Views
    1,877

    Re: How I can create those shapes with Java?

    what do you want to do? paint those shapes on a component like JFrame or JPanel? or would you like to put that picture in a jpanel or frame?
  18. Replies
    4
    Views
    4,775

    Re: Java Do..while loop problem

    System.exit(0) terminates your program whether u are in a loop or not.
  19. Replies
    11
    Views
    3,872

    Re: Custom Table using AbstractTableModel

    just a suggestion, instead AbstractTableModel why dont you extend DefaultTableModel instead? and just add the fields you needed? it will save you a lot of line of codes.
  20. Replies
    6
    Views
    2,861

    Re: Coding Help needed

    this is a java forum, i dont think they do javascript here, but ithink this is what your looking for.



    <html>
    <head>
    <title>Help me</title>

    <style type="text/css">
    .hide {display: none}
  21. Replies
    5
    Views
    3,105

    Re: Line Drawing Program

    Here, try this.




    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.MouseInfo;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
  22. Replies
    10
    Views
    2,649

    Re: How to display a button with an image on it?

    is poppy.jpg in the same directory as your java file? u should put them in the same folder.
  23. Replies
    10
    Views
    2,649

    Re: How to display a button with an image on it?

    when you compile your project into a jar file the image for your button will be included inside the jar file, and you will have problems referencing to it directly, u have to use...
  24. Thread: SUBSTRING

    by relixus
    Replies
    1
    Views
    1,902

    Re: SUBSTRING

    whats wrong with tihs?
  25. Thread: school project

    by relixus
    Replies
    13
    Views
    1,949

    Re: school project

    i hope its not too late for your assignment..:)



    import java.io.InputStreamReader;
    import java.util.Scanner;

    class Test{
    public static void main(String[] args) {
    Scanner sc =...
Results 1 to 25 of 41
Page 1 of 2 1 2