Skip to content

Instantly share code, notes, and snippets.

@oscar9
Created November 15, 2019 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscar9/24f6e89b013f3991a8cef2704481b241 to your computer and use it in GitHub Desktop.
Save oscar9/24f6e89b013f3991a8cef2704481b241 to your computer and use it in GitHub Desktop.
Show message in the application status bar #gvsig #scripting
# encoding: utf-8
import gvsig
from org.gvsig.app import ApplicationLocator
from javax.swing import JOptionPane
"""
JOptionPane -> messageType disponibles
- ERROR_MESSAGE
- INFORMATION_MESSAGE
- WARNING_MESSAGE
- QUESTION_MESSAGE
- PLAIN_MESSAGE
"""
def main(*args):
manager = ApplicationLocator.getManager()
manager.message("Loading...", JOptionPane.INFORMATION_MESSAGE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment