Go Down

Topic: I can't write anything in the IDE (maybe java) (Read 431 times) previous topic - next topic

zoli_varga

Hi All!

My problem is: I can't write anything in the IDE.

When I try to insert a Comment I get an error message like this:

"Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Text component read only
   at processing.app.syntax.JEditTextArea.setSelectedText(JEditTextArea.java:1269)
   at processing.app.Editor.handleCommentUncomment(Editor.java:1730)
   at processing.app.Editor$38.actionPerformed(Editor.java:1188)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
   at java.awt.Component.processMouseEvent(Component.java:6263)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
   at java.awt.Component.processEvent(Component.java:6028)
   at java.awt.Container.processEvent(Container.java:2041)
   at java.awt.Component.dispatchEventImpl(Component.java:4630)
   at java.awt.Container.dispatchEventImpl(Container.java:2099)
   at java.awt.Component.dispatchEvent(Component.java:4460)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
   at java.awt.Container.dispatchEventImpl(Container.java:2085)
   at java.awt.Component.dispatchEvent(Component.java:4460)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)"

I am using an ATMega 168 on a breadboard and an USBASP programmer without FTDI USB interface.
The operating system : windows7 x64 , the java is 1.6_27

If anyone can solve my problem I'll give a big THANK YOU!

zoli_varga

Yes, it has worked. And I could  upload sketch to the chip. (The led blinking program but edited to pin 8)
After a JAVA reinstall I have this problem.
I use the 022 version program.


zoli_varga

Yes I think this will be the good way.

THANK YOU

Go Up