Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Java inline classes in lisp/clos
User Name
REGISTER NOW! Mark Forums Read

sponsored links

1 4th July 04:35
stefan arentz
External User
Posts: 1
Default Java inline classes in lisp/clos

I'm a lisp newbie so f****ve me for asking silly questions. Suppose I have
the following Java code:

public class IndexPage extends WebPage
public WebPage()

add(new Label("title", "This is the title of the page"));

add(new Link("testLink")
public void onClick()
// Do something when the link is clicked

I'm mostly interested in the abstract Link#onClick which is inlined.

How would I translate that to lisp? What would that style of programming
look like in lisp or more specifically, clos.

  Reply With Quote

  sponsored links


Thread Tools
Display Modes

Copyright 2006 - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -