scala
How to use a scala.swing.Applet in a Scala Swing application?
I try to port some Java code to Scala. I want to display a scala.swing.Applet in a GUI application. With Java Swing I would do[详细]
2023-04-12 16:06 分类:问答Creating SBT task to copy directories during compile?
I\'m new to the whole SBT and Scala scene and am trying to build a project that uses Java/Scala classes and Hibernate.I\'开发者_运维知识库m getting the project to build fine -- I just have to manually[详细]
2023-04-12 15:19 分类:问答Analog to Ruby bundler in Scala
Are there any analog of Ruby bundler in Scala开发者_JS百科?I think SBT assembly is what you are looking for it will create a single jar file which can be used \'standalone\' :[详细]
2023-04-12 15:13 分类:问答Spring: Injecting a Scala Constant
Simple internal constants, that should not be externalized to properties: object InternalConstant { val CONSTANT_ONE: Byte = 21[详细]
2023-04-12 14:43 分类:问答Scala: "Too many arguments" Error in IntelliJ IDEA 11 using Scala 2.7.7
IntelliJ 10.5 and 11 both highlight the expression x(0) below as error stating that it uses \"Too many arguments\". However, there is no error when compiling and running the example. Due to downward c[详细]
2023-04-12 14:25 分类:问答How can be CSS used to style web pages meant to be served by Lift when Lift uses CSS classes for the purpose of its own?
Lift framework seems to use class=\"lift:something\" in HTML tags but what if I want to apply some 开发者_如何学Cordinary CSS to this tag and want it to have an ordinary class name?Each HTML element c[详细]
2023-04-12 13:44 分类:问答Any way to get a BeanShell (or Scala, or JRuby) REPL in a pure Java Maven2 project?
I have a Java only project using Maven2. It\'d be very useful to be able to get a REPL that has access to the full classpath of the compiled application and all libraries. In SBT, this is trivial for[详细]
2023-04-12 13:41 分类:问答Does Scala's 2.9.1 compiler throw away type parameter information?
I\'m writing some Java code that depends on some Scala code (that I have also written).Trying to supply an argument with a parameterized type seems to work if the Scala is compiled with 2.8.0 but fail[详细]
2023-04-12 13:41 分类:问答Why does enabling the "Any Exception" break point in IDEA cause a ClassNotFoundException when launching Scala swing apps?
It appears that at least an Application-type run target in IDEA with the Scala plugin and the \"Any Exception\" special break-point enabled will cause a ClassNotFoundException with the launcher being[详细]
2023-04-12 12:50 分类:问答Scala Lift: Multiple Comet Actors on same page
Is it a good idea to have more than one comet actor on a page? I\'ve currently got a simple chat box like the one in the Lift docs and a simple webcam stream handler.[详细]
2023-04-12 09:59 分类:问答