Search:

Type: Posts; User: aslanali555

Search: Search took 0.31 seconds.

  1. Replies
    0
    Views
    71

    Jtable sorting of integer values

    I want to sort to the jtable by Integer value for 0. column.
    I need to override "getColumnClass" method.
    I overrided "getColumnClass" when define "tableMalzeme"


    tableMalzeme.setModel(new...
  2. Re: KeyListener isn't working while jFrame not active

    Alright! How I can listen key events while jFrame not active.
  3. KeyListener isn't working while jFrame not active

    How can I work keylistener while jFrame not active. Please help me.
  4. Replies
    7
    Views
    1,165

    Re: Making JTable Non-Editable

    If I don't use "DbUtils.resultSetToTableModel" I can make non-editable.
    How can I make non-editabale using " jTable2.setModel(DbUtils.resultSetToTableModel(resultSet)"


    jTable2.setModel(new...
  5. Replies
    7
    Views
    1,165

    Re: Making JTable Non-Editable

    :o Ok. I declerad the class. and I implement "isCelleditable" method .But I did not apply setmodel
  6. Replies
    7
    Views
    1,165

    Re: Making JTable Non-Editable

    How can I do class that implemenst TableModel and apply. You can explain this?
  7. Replies
    7
    Views
    1,165

    Making JTable Non-Editable

    I want to make non-editable to table.
    I am taking data using DbUtils. I can take the data but I can not make non-editabale.

    try {
    String SQL = "SELECT * FROM tblmalzemeler ";
    ...
  8. Re: Can't call "paint" method from other method

    //There is a class that draw the function of sinus.
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Graphics;

    public class Sinus extends Applet {

    public void paint(Graphics...
  9. Re: Can't call "paint" method from other method

    //There is a class that draw the function of sinus.
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Graphics;

    public class Sinus extends Applet {

    public void paint(Graphics...
  10. Re: Can't call "paint" method from other method

    I want to run "paint method" when I pressed "sinus button"
    But I can't call the "paint method" because.It wants the parameter(Graphics g).What I should write the parameter while I call the "paint...
  11. Can't call "paint" method from other method

    I am new member at this forum.
    I want to call "paint method" from other "actionPerformed method".
    It want to "Graphics g" parameter

    Codes are below.The problem is in "actionPerformed" method .I...
  12. Can't call "paint" method from other method

    I am a new member at this forum.
    I want to call "paint method" from "actionPerformed" method.
    It want to "Graphics g" parameter

    Codes are below.The problem is in "actionPerformed method".I...
Results 1 to 12 of 12