I have a series of popups where I edit or view specific objects. I use these popups for editing various objects that are handled by and ORM (ORMLite), what I am trying to achieve is to have a generic/abstract class that implements similar behaviours…
griffon gsql plugin's datasource config is write in DataSource.groovy,
and i want it to be in Config.properties, how?
i try, it don't work:
add Config.properties at conf
2.config in…
I am currently doing the Griffon tutorial MVC Groups (JavaFX). I dont get this running because I cant compile griffon-app/i18n/messages.properties. It says:
Caused by: griffon.core.editors.ValueConversionException: Can't convert…
I'm trying to get a groovy / griffon project to prompt a user before closing the main window. There are numerous examples of this on the web and it seems pretty straightforward: set defaultCloseOperation to DO_NOTHING_ON_CLOSE and then skip the…
I am trying to write a Griffon/Swing/Groovy app.
I am having some trouble binding a JList control to my model.
Here is my model:
package com.halcon.scheduler
import com.halcon.scheduler.domain.EventType
import…
using smslib in griffon.
and some lib jar(SMSLIB) need log4j.properties.
i had try:
/log4j.properties , /conf/log4j.properties , /lib/log4j.properties
but still error:
log4j:ERROR Could not read
configuration file [log4j.properties].
…
How to use getStartupArgs()
Since 0.9.1 it seems you can read the command line arguments issue #245 with the getStartupArgs() method (documentation)
But I do know how to use it, I've put it in in all the Griffon lifecycle, Controller, Service, and I…
I just made my first Griffon project, using lazybones. I chose griffon-lanterna-groovy for my template, and I then removed pom.xml and maven/ as I will be using Gradle. I then run gradle build test run and everything looked good. (it ran, build…
Hey,
I'm thinking about using griffon in an very simple DeskTop app I've been asked to code. 90% of it's features are a few mouse clicks away from the system tray, it's like "start/choose/stop". One thing I'd need is an tooltip, that would update…
When I create plane java Swing components like dialog boxes etc, it is very easy to make a unit test to display the Dialog. Basically, I can just create an instance of the dialog and call setIsVisible(true). I'm having a really tough time figuring…
@ArtifactProviderFor(GriffonView.class)
public class MyWindow extends AbstractSwingGriffonView {
@Override
public void initUI() {
final JFrame jframe= (JFrame) getApplication()
…
I'm outside the UI and wish to display a wait cursor while stuff is
happening and using this basic pattern:
on UI - primaryStage.scene.cursor = Cursor.WAIT
try {
do stuff off UI...
} finally {
on UI - primaryStage.scene.cursor =…
I am trying Griffon for rapid desktop development, as it is so much quicker to write Ruby-style code than Java, and i enjoy this clean ruby architecture.
Please understand that i am just starting - maybe my question is stupid.
I wanted to ask,…
There's an exercise with mortageCalc application at paragraph 3.6.1 in the Griffon in Action book.
Environment:
Win 7 Pro, 64-bit
IntelliJ IDEA ver 12.1
Griffon-1.2.0 JDK 1.6
I have MortgageCalView:
package mortgagecal
application(title:'Mortgage…