Započni novu temu Odgovori na temu  [ 4 Posta ] 
Autoru Poruka
PostPoslato: 16.05.2005. 00:45:46 
Moderator
Korisnikov avatar

Pridružio se: 13.10.2003. 14:04:31
Postovi: 4555
Lokacija: At the poker table
Godina: II
Smer: IS
dakle zasto ovo nece da radi ? :udri: :udri:
sve sam probao ali nece.. :((
tacnije ovo je samo parce mog programa ali neceda radi pa sam jurio gde je trip i posle 4 sata skapiram da je oko necega za sta sam bio siguran da je ok....

Kod:
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import javax.swing.JTabbedPane;


public class ContUnosOdgovora extends JTabbedPane implements Serializable{

   public static void main(String[] args){
      try{
         ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream("smor"));
         out.writeObject(new ContUnosOdgovora());
         out.close();
      }catch(IOException exception){
         exception.printStackTrace();
      }catch(Exception ea){}
   }
}



error
Kod:

[vita@therion test]$ java ContUnosOdgovora
java.io.NotSerializableException: javax.swing.plaf.metal.MetalTabbedPaneUI$TabbedPaneLayout
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
        at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
        at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
        at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
        at java.awt.Container.writeObject(Container.java:3461)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
        at ContUnosOdgovora.main(ContUnosOdgovora.java:13)


_________________
I know that the spades are the swords of a soldier
I know that the clubs are weapons of war
I know that diamonds mean money for this art
But thats not the shape of my heart


Share on FacebookShare on TwitterShare on Google+
Vrh
 Profil  
Odgovori sa citatom  
PostPoslato: 16.05.2005. 07:25:51 

Pridružio se: 18.01.2005. 10:34:41
Postovi: 112
VITA je napisao:
dakle zasto ovo nece da radi ? :udri: :udri:
sve sam probao ali nece.. :((


to je bug u javi 1.5. skini update 2, ili koristi jdk 1.4.


Share on FacebookShare on TwitterShare on Google+
Vrh
 Profil  
Odgovori sa citatom  
 Tema posta:
PostPoslato: 16.05.2005. 17:41:24 
Moderator
Korisnikov avatar

Pridružio se: 13.10.2003. 14:04:31
Postovi: 4555
Lokacija: At the poker table
Godina: II
Smer: IS
polako popcinjem da pizdim... :udri: :udri: :udri:
evo nove djakonije oko serijalizacije
Kod:

java.io.NotSerializableException: javax.swing.JTable$CellEditorRemover
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
   at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:380)
   at javax.swing.JTable.writeObject(JTable.java:4022)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
   at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
   at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
   at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
   at java.awt.Container.writeObject(Container.java:3461)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
   at package1.controlers.FileSaveControler.actionPerformed(FileSaveControler.java:32)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
   at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
   at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
   at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
   at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
   at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:757)
   at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
   at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
   at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
   at java.awt.Component.dispatchEventImpl(Component.java:3867)
   at java.awt.Container.dispatchEventImpl(Container.java:2024)
   at java.awt.Component.dispatchEvent(Component.java:3803)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
   at java.awt.Container.dispatchEventImpl(Container.java:2010)
   at java.awt.Window.dispatchEventImpl(Window.java:1774)
   at java.awt.Component.dispatchEvent(Component.java:3803)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicTableUI.getPreferredSize(BasicTableUI.java:1414)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1582)
   at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
   at java.awt.Container.layout(Container.java:1401)
   at java.awt.Container.doLayout(Container.java:1390)
   at java.awt.Container.validateTree(Container.java:1473)
   at java.awt.Container.validate(Container.java:1448)
   at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
   at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicScrollPaneUI.paint(BasicScrollPaneUI.java:89)
   at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
   at javax.swing.JComponent.paintComponent(JComponent.java:740)
   at javax.swing.JComponent.paint(JComponent.java:1003)
   at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4930)
   at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4883)
   at javax.swing.JComponent._paintImmediately(JComponent.java:4826)
   at javax.swing.JComponent.paintImmediately(JComponent.java:4633)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
   at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
   at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(MetalTabbedPaneUI.java:787)
   at javax.swing.plaf.metal.MetalTabbedPaneUI.update(MetalTabbedPaneUI.java:716)
   at javax.swing.JComponent.paintComponent(JComponent.java:740)
   at javax.swing.JComponent.paint(JComponent.java:1003)
   at javax.swing.JComponent.paintChildren(JComponent.java:840)
   at javax.swing.JComponent.paint(JComponent.java:1012)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
   at javax.swing.JComponent.paintChildren(JComponent.java:840)
   at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4937)
   at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4883)
   at javax.swing.JComponent.paint(JComponent.java:993)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
   at java.awt.Container.paint(Container.java:1709)
   at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
   at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:56)
   at sun.awt.RepaintArea.paint(RepaintArea.java:224)
   at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:630)
   at java.awt.Component.dispatchEventImpl(Component.java:4031)
   at java.awt.Container.dispatchEventImpl(Container.java:2024)
   at java.awt.Window.dispatchEventImpl(Window.java:1774)
   at java.awt.Component.dispatchEvent(Component.java:3803)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


javax.swing.JTable.java ima ovu inner klasu
Kod:
    // This class tracks changes in the keyboard focus state. It is used
    // when the JTable is editing to determine when to cancel the edit.
    // If focus switches to a component outside of the jtable, but in the
    // same window, this will cancel editing.
    class CellEditorRemover implements PropertyChangeListener {
        KeyboardFocusManager focusManager; //NEMA SERALIZABLE!!!!!!!!!!!!!!!!
.
.
.
.
.itd...


i sve lepo radi.. dok ne dodje do instanciranja ove klase...a to je kad pokusam da unesem nesto u tableu i da sacuvam...:udri: :udri:
Kod:
public boolean editCellAt(int row, int column, EventObject e){
        if (cellEditor != null && !cellEditor.stopCellEditing()) {
            return false;
        }

   if (row < 0 || row >= getRowCount() ||
       column < 0 || column >= getColumnCount()) {
       return false;
   }

        if (!isCellEditable(row, column))
            return false;

        if (editorRemover == null) {
            KeyboardFocusManager fm =
                KeyboardFocusManager.getCurrentKeyboardFocusManager();
            editorRemover = new CellEditorRemover(fm);// <<<<<<<----------------UZAS!!!!
            fm.addPropertyChangeListener("permanentFocusOwner", editorRemover);
        }

        TableCellEditor editor = getCellEditor(row, column);
     


stvarnose SUN igra sa jako bitnim stvarima..... ovo je jako bitna tehnologija da bi bila ovako ofrlje odradjena....
:udri: :udri: :udri:

_________________
I know that the spades are the swords of a soldier
I know that the clubs are weapons of war
I know that diamonds mean money for this art
But thats not the shape of my heart


Share on FacebookShare on TwitterShare on Google+
Vrh
 Profil  
Odgovori sa citatom  
 Tema posta:
PostPoslato: 17.05.2005. 03:53:41 
Moderator
Korisnikov avatar

Pridružio se: 13.10.2003. 14:04:31
Postovi: 4555
Lokacija: At the poker table
Godina: II
Smer: IS
uf...
posle 12 sati zezanja sa ovim j*** SAM MU KEVU BEZOBRAZNU!!!!!!!!!!!:sniper: :sniper:
ceo dan sam izgubio zbog ovoga.. ali sam ga sredio.... :yo:
metoda removeEditor().. ali posto mi je program imao malimilion tabela ni to nije bilo lako izvesti(sitna prepravka mi uzela 3 sata :(( )
najzad radi (doduse ne bas kako treba ali ...ima leka i za to :grin:)

_________________
I know that the spades are the swords of a soldier
I know that the clubs are weapons of war
I know that diamonds mean money for this art
But thats not the shape of my heart


Share on FacebookShare on TwitterShare on Google+
Vrh
 Profil  
Odgovori sa citatom  
Prikaži postove u poslednjih:  Poređaj po  
Započni novu temu Odgovori na temu  [ 4 Posta ] 


Ko je OnLine

Korisnici koji su trenutno na forumu: Nema registrovanih korisnika i 2 gostiju


Ne možete postavljati nove teme u ovom forumu
Ne možete odgovarati na teme u ovom forumu
Ne možete monjati vaše postove u ovom forumu
Ne možete brisati vaše postove u ovom forumu
Ne možete slati prikačene fajlove u ovom forumu

Pronađi:
Idi na:  
cron
Copyleft FONForum 2001-2014 | Powered by phpBB © phpBB Group