18 lines
422 B
Python
18 lines
422 B
Python
from startup import *
|
|
|
|
import ch.psi.utils.swing.SwingUtils as SwingUtils
|
|
|
|
|
|
def test1():
|
|
print beam_ref.read()
|
|
#update()
|
|
|
|
def getString(msg, default = None, alternatives = None):
|
|
if alternatives is None:
|
|
return SwingUtils.getString(None,msg, default)
|
|
else:
|
|
return SwingUtils.getString(None,msg, alternatives, default)
|
|
|
|
|
|
print test1()
|
|
#print getString("Enter", "a1", ["a1", "a2"] ) |