groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thulsi Doss Krishnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-8685) Tring to run this piece of code , the IDE is not able to find the Groovy:unable to resolve class groovy.swing.SwingXBuilder
Date Thu, 05 Jul 2018 10:54:00 GMT
Thulsi Doss Krishnan created GROOVY-8685:
--------------------------------------------

             Summary: Tring to run this piece of code , the IDE is not able to find the Groovy:unable
to resolve class groovy.swing.SwingXBuilder
                 Key: GROOVY-8685
                 URL: https://issues.apache.org/jira/browse/GROOVY-8685
             Project: Groovy
          Issue Type: Question
          Components: groovy-jdk
    Affects Versions: 2.4.x
            Reporter: Thulsi Doss Krishnan


Hello all trying to run this piece of code

import groovy.swing.SwingXBuilder
import static java.awt.Color.*
import static java.lang.Math.*
def swing = new SwingXBuilder()
def frame = swing.frame(size: [300, 300]) {
graph(plots: [
[GREEN, \{value -> sin(value)}],
[BLUE, \{value -> cos(value)}],
[RED, \{value -> tan(value)}]
])
}.show()

the IDE is complaining of unable to resolve groovy.swing.SwingXBuilder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message