예제 #1
0
 def show(self):
     # when the popup becomes visible, get the cursor
     # so we know how to replace the selection
     self.dotPosition = self.textComponent.getCaretPosition()
     self.setSize(self.getPreferredSize())
     JWindow.show(self)
예제 #2
0
파일: popup.py 프로젝트: CafeGIS/gvSIG2_0
 def show(self):
     # when the popup becomes visible, get the cursor
     # so we know how to replace the selection
     self.dotPosition = self.textComponent.getCaretPosition()
     self.setSize(self.getPreferredSize())
     JWindow.show(self)