Search:

Type: Posts; User: eyalfish

Page 1 of 2 1 2

Search: Search took 0.28 seconds.

  1. Replies
    1
    Views
    285

    How to counter this little issue?

    Hi everybody,
    i am still new to networking and i have this little issue:
    this is part of my code (the important one):

    public void listen(int port){
    try{
    serverSocket=new...
  2. [SOLVED] Re: I need a little help understanding this issue

    SOLVED:]]]]
  3. [SOLVED] Re: I need a little help understanding this issue

    Hi thank you for your comment,
    i did a simple client-server instant messaging .
    the program as i said work on my computer however not working on another computer.
    my guess is something connected...
  4. [SOLVED] Re: I need a little help understanding this issue

    My problem is the this app work on my computer but not on another computer.
    i tried to open the client side on another computer but somehow it cant connect to my server side.
    i open a port in my...
  5. [SOLVED] I need a little help understanding this issue

    Hi everyone,
    i build a client-server simple chat and its work in my computer.
    but when i send the client app to another computer it cant connect to my server,my guess is a problem finding my server...
  6. I have a general question regarding building an instant message app

    Hi everyone,
    I am trying to study by myself to build a simple chat app,using my programming skills.

    I built a client side -that i figure that this is the program(side) that i have to send to all...
  7. Re: Hi everybody,i have an issue regarding to inner classes

    How can i make this work inside the button.
    Can i make new instance inside the actionlistener?
    If so how?
  8. Re: Hi everybody,i have an issue regarding to inner classes

    package smallExample;

    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;

    import javax.swing.JButton;
    import javax.swing.JFrame;
    import...
  9. Re: Hi everybody,i have an issue regarding to inner classes

    Hi Norm,
    thank you for trying to helping me,i cannot add all my code because it seperated from the BL and GUI.

    however if you can guide me or help me about what i have asked ,that question is not...
  10. Re: Hi everybody,i have an issue regarding to inner classes

    public class MainPanel extends JPanel {
    private Hospital theHospital;

    private JLabel lblAllPatients;
    private JComboBox<Patient> cmbAllPatients;

    public MainPanel() {
    theHospital = new...
  11. Re: Hi everybody,i have an issue regarding to inner classes

    "no inclosing instance of the type MainPanel.PatientPanel is accessible in scoop ".
    but bottom line my question is how can i do this:
    MainPanel.PatientPanel.\\ features from patientPanel.

    if...
  12. Hi everybody,i have an issue regarding to inner classes

    Thanks for any advice people,
    This is my classes at my code:

    public class MainPanel extends JPanel {

    public MainPanel() {
    .
    .
    .}
    class PersonPanel extends JPanel {
  13. Replies
    5
    Views
    167

    Re: i have a small problem in GUI

    Thank you solved:-):-)
  14. Replies
    5
    Views
    167

    Re: i have a small problem in GUI

    its returns null.
    newText dosent get the String input
  15. Replies
    5
    Views
    167

    i have a small problem in GUI

    Hi there,
    i am new to GUI and i will very appreciate your help.
    i create a JTextField and a Buttom("ok").and i want to get the String of the text after i push the button.

    what did i do wrong?
    ...
  16. Replies
    2
    Views
    208

    I cannot find my problem

    Hi everyone,

    File ff=new File("Questions.txt");
    Scanner f=new Scanner(ff);
    PrintWriter pq=new PrintWriter(ff);

    while(f.hasNext()){
    f.nextLine();
    }
  17. Replies
    0
    Views
    83

    whats wrong with this code please?

    String hex="7D";
    System.out.println(hexToDecimal(hex));
    }
    public static int hexToDecimal(String hex){
    int sum=0;int k=0;
    for(int i=hex.length()-1;i>=0;i--,k++){
    char...
  18. Replies
    3
    Views
    133

    Re: any idea?StringBuilder

    great i understoond and it works well via for loops.
    what isnt it working with my recursion:

    public static void switchLetters(StringBuilder str,int indexBegin,int indexEnd){
    StringBuilder...
  19. Replies
    3
    Views
    133

    any idea?StringBuilder

    Hello everyone,
    how can i replace each letter for example "abcde" to "edcba" with StringBuilder only and without the reverse tool:)
    this is what i tried:

    StringBuilder str=new...
  20. Replies
    2
    Views
    116

    my first recursion ,what did i do wrong?

    public static boolean q8(int n){
    boolean check=true;

    if((n/10)<0){
    return check;
    }
    int f=n%10;
    int r=(n/10)%10;
    if((f%2==0)&&(r%2==0)){
    return check=false;
  21. Re: problem with understanding this recursion

    Thanks! Btw i didnt write the code i ordered to analayzed it.the value is indeed 952
  22. problem with understanding this recursion

    public static boolean goo(int n){
    If(n<10){
    Return n;
    }
    Int k=goo((n/100)*10+(n%10));
    Return (k*10 +(n%100)/10);

    }

    I am still a beginner to rec concept.
  23. Replies
    5
    Views
    226

    Re: How to create a text file?

    sorry i didnt find anything to make this text come to specific directory
  24. Replies
    5
    Views
    226

    How to create a text file?

    Hi everyone,
    this is what i tried(i tried a few things hope you would understand):

    File f=new File("c:/FilePractice/text.txt");
    f.mkdirs();

    and it creates only the folder text.txt.
    i am...
  25. Replies
    2
    Views
    207

    [SOLVED] Re: I need an advice

    Thanks Norm i just mistaken by the value .didnt see it
    This tread can be close thank you very much:)
Results 1 to 25 of 48
Page 1 of 2 1 2