You need to prefix the call by the outer class:
Outer.this.show();
Related Contents:
- Why is Java Vector (and Stack) class considered obsolete or deprecated?
- How can I clear or empty a StringBuilder? [duplicate]
- How to convert jsonString to JSONObject in Java
- Why is there no String.Empty in Java? [closed]
- What is null in Java?
- Cannot refer to a non-final variable inside an inner class defined in a different method
- javax.transaction.Transactional vs org.springframework.transaction.annotation.Transactional
- How can I determine whether a Java class is abstract by reflection
- Places where JavaBeans are used?
- How to deal with a slow SecureRandom generator?
- How to check if a string contains only digits in Java
- Is it possible to create a File object from InputStream
- How can “while (i == i) ;” be a non-infinite loop in a single threaded application?
- Dependency injection with Jersey 2.0
- What is the best Java library to use for HTTP POST, GET etc.? [closed]
- Why should I care that Java doesn’t have reified generics?
- How to check a string against null in java?
- Java’s createNewFile() – will it also create directories?
- What exactly does URLConnection.setDoOutput() affect?
- Error: JavaFX runtime components are missing, and are required to run this application with JDK 11 [duplicate]
- Running a program in Debug mode is incredible slow
- How to find out the currently logged-in user in Spring Boot?
- Implement a simple factory pattern with Spring 3 annotations
- Mapping list in Yaml to list of objects in Spring Boot
- Java 8 stream map to list of keys sorted by values
- Erlang’s let-it-crash philosophy – applicable elsewhere?
- StringFormat for Java Boolean Operator
- Where’s my invalid character (ORA-00911)
- Using int vs Integer
- Android AudioRecord class – process live mic audio quickly, set up callback function
- Java Sorting based on Enum constants
- How to get HttpClient returning status code and response body?
- How to persist a List of Strings in Hibernate?
- Is it possible for a thread to Deadlock itself?
- Varargs to ArrayList problem in Java
- Transform and filter a Java Map with streams
- IntelliJ: Cannot resolve symbol ‘springframework’
- Hibernate Criteria Query to get specific columns
- Why does static have different meanings depending on the context? [duplicate]
- Easiest way to convert a Blob into a byte array
- A cycle was detected in the build path of project xxx – Build Path Problem
- Can a main method in Java return something?
- Spring Web MVC – validate individual request params
- android.app.Application cannot be cast to android.app.Activity
- synchronized block – lock more than one object
- Object not locked by thread before notify() in onPostExecute
- Java Arrays.equals() returns false for two dimensional arrays
- Convert a Result Set from SQL Array to Array of Strings
- Call Main thread from secondary thread in Android
- Maven & Java: The parameters ‘mainClass’ for goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java are missing or invalid