Search Results

Search found 4 results on 1 pages for 'entoutcas'.

Page 1/1 | 1 

  • Random freezes on MBP9,2 + Ubuntu 12.04

    - by EnToutCas
    I have a MBP9,2 (mid-2012) at work. I put Ubuntu 12.04 on it after some efforts. Everything works more or less now, except I get random freezing every now and then. I have to power off the machine to restore it. Wondering if anyone had the similar issue. My setup: MacBook Pro 9,2 (mid 2012) Ubuntu 12.04 (installed using the special image for Macs) No proprietary drivers xmonad on Unity 2D So far the freezes look to be sporadic and spontaneous.

    Read the article

  • [GWT2] UiBinder work with ToggleButton

    - by EnToutCas
    I'm liking the new GWT2 UiBinder, however, it's not clear whether certain things are achievable using the declarative UI style. For instance, ToggleButton only takes the image instances at construction time (no setters for up/down images). As I understand, UiBinder works in a JavaBean-like reflective way, where the assignable attributes are mapped to corresponding setters. Is this style possible with widgets like ToggleButton, where certain attributes have to be specified at construction time? <g:ToggleButton ui:field="myBtn"></g:ToggleButton>

    Read the article

  • getting IllegalAccessException when accessing a protected method from parent from inner class

    - by EnToutCas
    I got a very weird problem and a weird solution: class Parent { protected void aProtectedMethod() { doSomething(); } } class Child extends Parent { void anotherMethod() { new SomeInterface() { public void interfaceMethod() { aProtectedMethod(); } }; } } When child.anotherMethod() is run, I got IllegalAccessException at myProtectedMethod(), saying my inner class doesn't have access to the Parent class... However, if I add: protected void aProtectedMethod() { super.aProtectedMethod(); } in my Child class, everything is fine... I wonder why this is?

    Read the article

  • [Java6] Same source code, Eclipse build success but Maven (javac) fails

    - by EnToutCas
    Keep getting this error when compiling using Maven: type parameters of <X>X cannot be determined; no unique maximal instance exists for type variable X with upper bounds int,java.lang.Object Generics type interference cannot be applied to primitive types. But I thought since Java5, boxing/unboxing mechanism works seamlessly between primitive types and wrapper classes. In any case, the strange thing is Eclipse doesn't report any errors and happily compiles. I'm using JDK1.6.0_12. What could possibly be the problem here?

    Read the article

1