The mIDlet class is not public: ttt
Hello, Imam getting the error in the subject (ttt is my main class) when I try to install an application on a Blackberry device.
My class TT is public, here is a sample of my code:
public class ttt extends UiApplication {}
public ttt() {pushScreen)
new HelloScreen());
}
public public static void main (String argv {TT app = new ttt();})
app.enterEventDispatcher ();
}
public class HelloScreen extends screen implements {FieldChangeListener}
private ButtonField button1;
private ButtonField button2; private ButtonField button3;
public {HelloScreen()}
........
Any ideas please?
How do you install the application?
Check this thread.
Tags: BlackBerry Developers
Similar Questions
-
Hi all
I am facing problem when I try to create the JAR file.
After creating the Jar file I tried to run but error message
Main class not found.
I follow these steps
(1) my WordNetOK.javaimport java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import edu.smu.tspell.wordnet.*; public class WordNetOK{ public static void main(String args[]) throws FileNotFoundException { System.setProperty("wordnet.database.dir", "C:\\Program Files (x86)\\WordNet\\2.1\\dict\\"); WordNetDatabase database = WordNetDatabase.getFileInstance(); String result = ""; NounSynset nounSynset; NounSynset[] hyponyms; //creating File instance to reference text file in Java File text = new File("C:/javacode/WordNetin.txt"); //Creating Scanner instnace to read File in Java Scanner scnr = new Scanner(text); //Reading each line of file using Scanner class int lineNumber = 1; while(scnr.hasNextLine()){ String line = scnr.nextLine(); Synset[] synsets = database.getSynsets(line); for (int i = 0; i < synsets.length; i++) { String[] wordForms = synsets.getWordForms();
for (int j = 0; j < wordForms.length; j++) {
System.out.println(wordForms[j]);
}
}
//System.out.println("line " + lineNumber + " :" + line);
lineNumber++;
}
}
}
Main-Class: WordNetOK2) Javac WordNetOK.java it create a class file 3) i create Manifeast.txt
C:\Javacode > jar cvfm WordNetOK.jar Manifest.txt WordNetOK.class4) i run this
Adding manifests
adding: WordNetOK.class(in = 743) (out = 435)(deflated 41%)
C:\Javacode > java-jar WordNetOK.jar5) i tried to execute it as * java -jar WordNetOK.jar * But error appear could not find main class
Exception in thread "main" java.lang.NoClassDefFoundError: WordNetOK
Caused by: java.lang.ClassNotFoundException: WordNetOK
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
The main class is not found: WordNetOK. Program ends.
C:\Javacode >
set PATH = C:\Program Files\Java\jdk1.6.0_32\bin;Note : i execute the classpath at beginning
set the classpath = C:\Program Files\Java\jdk1.6.0_32\bin;\javacode.
Edited by: Ayham on Apr 6, 2013 7:39 AM Edited by: Ayham on Apr 6, 2013 7:41 AM Edited by: Ayham on Apr 6, 2013 7:45 AM
Why are you creating your own manifest file? Let just for you Java.
It works for me using 1.6
C:\Javacode>jar cfe WordNetOK.jar WordNetOK WordNetOK.class C:\Javacode>java -jar WordNetOK.jar Hello World.
Generally, you should leave a tool (e.g., Netbeans, Ant) create the manifest because they know how to do it properly.
-
NEW SDK IDE PROBLEM - the editor class could not be instantiated.
The error is:
Could not open the Editor: the editor class could not be instantiated. This usually indicates a manufacturer no. - arg missing or that the name of the editor class was misspelled in plugin.xml.
java.lang.IllegalStateException: Duplicate item in map: MapID: ModelInfoLoader.resolvedSlotIDMap, Key:setScale at com.rim.tad.tools.qml.core.internal.util.TypeUtil.mapPutIfNotExist(TypeUtil.java:67) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.resolveSuperInfoList(ModelInfoLoader.java:576) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.parseComponent(ModelInfoLoader.java:385) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.assureParseComponent(ModelInfoLoader.java:428) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.parseComponent(ModelInfoLoader.java:335) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.assureParseComponent(ModelInfoLoader.java:428) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.parseComponent(ModelInfoLoader.java:335) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.assureParseComponent(ModelInfoLoader.java:428) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.parseComponent(ModelInfoLoader.java:335) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.create(ModelInfoLoader.java:257) at com.rim.tad.tools.qml.core.internal.model.semantic.ModelInfoLoader.createModelInfoFromBuiltInFile(ModelInfoLoader.java:186) at com.rim.tad.tools.qml.core.internal.editor.QMLEditor.
(QMLEditor.java:53) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260) at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235) at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:875) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597) at org.eclipse.ui.internal.PartStack.add(PartStack.java:493) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103) at org.eclipse.ui.internal.PartStack.add(PartStack.java:479) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764) at com.rim.tad.tools.qml.project.internal.wizard.QMLNewProjectWizard$2$1.run(QMLNewProjectWizard.java:221) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029) at com.rim.tad.tools.qml.project.internal.wizard.QMLNewProjectWizard.performFinish(QMLNewProjectWizard.java:248) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:135) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Any idea on how to solve this error?
Thank you.
A few of us have had this problem, the solution for me was to uninstall the kit development software and the remains of previous versions and reinstall.
-
The main class is not found: HelloWorldSwing
First lines of the file "HelloWorldSwing.java".
I've successfully compiled the file.package start; import javax.swing.*; public class HelloWorldSwing {
When I type the following command
I get the following error Message:C:\>java HelloWorldSwing
I'm sure that the absolute path of the file is:Could not find the main class: HelloWorldSwing. Program will exit.
C:\start\HelloWorldSwing.Java
and I issued the command of
C:\Your class is in a package. Its fully qualified name is start. HelloWorldSwing
DB
-
The Observer class is not update icon JLabel in an iteration
I have the following situation:
This class contains a method that traverses an ArrayList, until the value represents a Jack.public class Cards extends Observable
Each value must be passed through the CardLabel class which is a label in the main frame. The ImageIcon for the label should be handed over to the new value.
The CardLabelpublic void dealJack(){ Thread thread = new Thread(); Random r = new Random(); boolean jack = false; while(!jack){ int index = r.nextInt(cards.size()); cardIcon = cards.get(index); System.out.println(cardIcon); if(cardIcon.startsWith("j")){ jack = true; } else{ cards.remove(index); try{ thread.sleep(1000); } catch(InterruptedException e){ e.printStackTrace(); } } setChanged(); notifyObservers(); } }
The CardLabel is added to a JPanel in the GameFrame class.public class CardLabel extends JLabel implements Observer { public void update(Observable o, Object arg){ Cards cards = (Cards)o; setIcon(new ImageIcon("image/" + cards.getKaartIcon() + ".gif")); } }
The label is only updated when the dealJack() of the iteration in cards is made, not with all the values that has elapsed.
I suspect that the GameFrame is not updated in this model of the observer.http://download.Oracle.com/javase/tutorial/uiswing/Misc/timer.html
DB
-
definition of the base class _ not found
Hello!
While exploring Flex 3 (really good btw) and build my first app, I tried the following:
SerializableAttribute public class X extends EventDispatcher {}
It gives me a compilation error #1017: the definition of the EventDispatcher base class was not found.
To compile I am just use a file .bat, such as those used in the samples. Everything compiles normally without extending an existing class (in this case flash.events.EventDispatcher).
Try to change the compiler options with
-library-path += c:\flex\framework\libs
has resulted in the same error here (and I guess that's already a default setting).
Any help would be greatly appreciated!
Fre
It worked :-). Thank you very much, Deepa!
So, apparently, you can make import declarations in the declaration of class (or anywhere in the code), but always before you use the imported class. I got confused, as in java, all import instructions are in the same place and import flash.net worked under my class declaration.
-
Why the parent class does not report data for child in LVOOP class?
Attached is a practical program that I wrote to learn about the legacy with LVOOP.
I have the impression of OOP is a Parent class describes the type of object. Then the children inherent description of the parent. The child may also have additional qualities, but it still contains the description of the parent. If a child does not have a VI bearing the same name as the parent and the parent VI will be loaded and executed.
My questions:
(1) why does the Parent.lvclass:Read.vi not report 'Child' in the channel indicator when the child write VI has been sent?
2) matches the data of the child, do not at all seen by the parent company even when it has the same definition (that's the String)? I understand that the Parent do not know anything about the unique child elements, but I think we should know about the common themes which inherited the child.
Here is my sample code:
These are two different sets of data. The parent class has a data set containing the string, the class of the child also has a data set containing the string, but both of these channels are separated.
This can be made apparent, by changing the names of the channels based on their respective categories:
What you want is for your children, class VI write to access the data of the parent class. You can do this with a simple data VI member access in VI of the child:
-
AppModuleImpl methods of the class returns the custom class types, not called.
Hi all
Methods of the class AppModuleImpl custom types of class, not called when you access through back links.
OperationBinding operationBinding = bindings.getOperationBinding("getInstanceNameO"); where 'getInstanceNameO' is a method AppModuleImpl returns a class serializable type.
Any help will be appreciated.
OI_testBean.goInstanceName_methodCallNew (OI_testBean.Java:99): this line is the call of method appmoduleimpl: OperationBinding operationBinding = bindings.getOperationBinding("getInstanceNameO");
Looks like 'bindings' is null.
How to retrieve variable 'bindings '?
Where is the OI_testBean.goInstanceName_methodCallNew () method called?
If this method is called from the method call activity, you create pageDef in his name and add getInstanceNameO
Dario
-
During the installation of Application Framework via./install.sh script, then that account activity held an entry for "WebLogic Admin User ID system" we face as "' java.lang.ClassNotFoundException: weblogic.security.Encrypt" emits messages. "
Please, help us to solve this problem as soon as POSSIBLE.
Details of the environment:
Operating system: 64-bit 5U8 OEL.
Follow-up document:
PSRM - sector Public Revenue Management Oracle Installation Documentation (Doc ID 2067339.1)-PSRM_Installation_Guide_v2_4_0_0_0
Error message:
Enter the value to be encrypted: 160122:164014 < criteria > error occurred running /usr/java/jdk1.6.0_45/bin/java-Dweblogic.RootDirectory=/ebiz/app/ouaf/Release-FW-
V4.2.0.0.0/FW. V4.2.0.0.0/data/product/WLS.splapp weblogic.security.Encrypt:
Output is Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/security/encryption
Caused by: java.lang.ClassNotFoundException: weblogic.security.Encrypt
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
The main class is not found: weblogic.security.Encrypt. Program ends.
End of output
The program finished in line 118 of the data/bin/perllib/SPL/splLog.pm.
Error: install.plx has not completed successfully. On the way out.
From now on, we have completed the slot status of activities for your reference.
Sl.No
Name of the activity
Status
1
Create users and groups
Completed
2
Install prerequisite software
Completed
3
Oracle 11.2.0.3 database
Completed
4
Java 6
Completed
5
Oracle WebLogic 10.3.6
Completed
6
Hibernation 4.1.0
Completed
7
Micro Focus Server 5.1 WrapPack 8
Completed
8
Install Oracle Utilities application.
Here issue facing 9
Install Oracle Utilities Application Framework Service Pack 1.
Pending
10
Install Oracle Public Revenue Management sector
Pending
11
Deploy Oracle sector Public Revenue Management application
Pending
Concerning
Knani G
Hello
During the installation, we have wrongly given Home Directory Web Application Server like/Ebiz/app/woof/Middleware
So we changed the Homepage Directory Web Application Server as /ebiz/app/ouaf/Middleware/wlserver_10.3
then the problem is resolved.
Thanks for the support.
Concerning
Villi Kumar
-
Confused about the extension of the Sprite class
Howdy-
I learn programming with object oriented ActionScript and am confused about the class Sprite and OO in general.
My understanding is that the Sprite class allows you to group a set of objects that you can manipulate all the objects at the same time.
I explored the Open Flash Chart code and note that the main class extends the Sprite class:
Base/public class extends Sprite {}
What this lets you do?
Also, on a related note, how to draw, say, a line once I extended?
Without extend Sprite I could write:
var graphContainer:Sprite = new Sprite();
var newLine:Graphics = graphContainer.graphics;
...
And it works very well. Once I have extend the Sprite class, I'm lost. How can I modify this code so that it still draws a line? I tried:
var newLine:Graphics = this.graphics;
My understanding is that since I extend the Sprite class, I should still be able to call its method chart (or property? I have no idea). But, he screams at me, saying "1046: Type was not found or is not a constant of compilation: graphs.»
A number of things.
First of all, I would not use this approach in your table constructor. Setting the width and height only makes sense if you adjust the width and height of the existing content, and the table (Sprite) does not at this time here. If you want to give the table a 'size', you could do it like this:
public function Chart (width: Number, height: Number) {}
This.Width = width;
This.Height = height;
put in a background invisible to this size:
this.graphics.beginFill (0,0);
this.graphics.drawRect (0,0,width,height);
}There are other ways, including putting in a form or a Sprite of child as a child for the background so that clear will not erase the background of the chart. This way you could have properties for the background in your table class and update the background as a child DisplayObject instance... a few ideas to think to...
Then, after that, your chart should be functional...
Then back in your scenario, you could do this:
import graphics. Table;
Stop()
var myNewChart:Chart = new Chart (300,200)
myNewChart.render ();
addChild (myNewChart) -
Class StatelessJavaRpcWebService not deployed in WebLogic 12
Does anyone know where the oracle.j2ee.ws.StatelessJavaRpcWebService class in Weblogic server 10.3.6.0?
When running our applications, which took place in earlier versions of the server application, Weblogic Server 12, you get errors like:
"HTTP error BEA-101249 [ServletContext@1715082290[app:jdprint_server_v2 module: jdprint_server_v2.war path: / jdprint_server_v2 spec-version: 2.5]]: class oracle.j2ee.ws.StatelessJavaRpcWebService Servlet for servlet Jdprint could not be loaded because the requested class is not found in the classpath.
I understand that this class has been default in older versions of application server.
If I knew where to find him, I could just deploy...
Is - this class depricated?It seems that your application has been developed for Oc4j application server.
The oracle.j2ee.ws.StatelessJavaRpcWebService class is not packed/shipped with Weblogic Server.
You need to upgrade your oc4j application using the smart upgrade tool before deploying the oc4j to Weblogic Server application.
Smart upgrade tool generates a detailed report on the changes to your application and changes to the deployment descriptors to be made compatible for Weblogic Server.
Please refer to the documents below for more information.
http://www.Oracle.com/technetwork/middleware/downloads/smartupgrade-085160.html
http://docs.Oracle.com/CD/E1676401 /doc.1111/e15878/intro.htm_Thank you
Vijaya -
What causes the generation of the _globalStyle class? It's in my non - Flex SWF.
Hello
I'm working on an AS3, compiling with mxmlc from Flex 4 beta 2 SDK. I'm having a problem with mxmlc generating (what seems) Flex style classes and put them in my SWF file. I have noticed that this course when I'm viewing my SWF in a decompiler. It is the origin of the framework Flex be compiled into my SWF, which is about 150 k more. If I prevent flex classes are included via - external-library-path I obviously get a runtime error since the Flex classes are not available.
The problem seems to be that I put class on the 2nd picture of my SWF using the [block] metadata tag heavily undocumented. If I remove this tag, the Flex style classes are not inserted in my SWF. How can I avoid that mxmlc inject of these classes in my SWF?
I think we have a submitted bug on what we want in?
-
New methods in the project request module not available to view the project
Hello
I have migrated from 10.1.2.3 to 10.1.3.4 JDeveloper and received the application (Struts base) upwards and works well.
But when I add methods to the ApplicationModule class, is not available in the classes of the action in the draft opinion.
In the project settings for the draft opinion, the model project is in the list of dependencies.
What will take to make it work?
Kind regards
TerjeHello
just my experience:
You must remove all the way classes (model view controller) and then rebuild the model and the view of the controller. JDev sometimes left a few old files, classes and never build them again even if you have changed the java file. I never really learned when this happens, so there is no test case to reproduce this. We use an ant script to clear the path of classes before you rebuild an application.If the error persists after this own reconstruction, debug the application and the st a breakpoint in your action class where you get the module of the application. Then check the class of the returned request module. If you see a class of the type of your ApplicationModuleImpl, you should be able to access your methods. If you do not see your ApplicationModuleImpl something wrong with the cpx-file configuration struts - config.Xml.
Timo
-
the MIDlet application icon does not appear
Hi all
I have a midlet application on my BlackBerry project.
(I use the BB project because some improvements only works on BB).
I use Eclipse 3.4 and BB JDE 4.5.
My icon is the res folder (source folder) on the project.
Why does not display the icon of the application?
I use all of this step, but the icon still does not display:
1. project-> properties-> BlackBerry Project Properties-> tab "resources"-> Add (icon files textbox)
2 MIDlet-1: MidletName, / appicon.jpg, MidletJava
are all the work of setting just for UIApplication?
Thanks in advance.
=)
----------------------------------------------------------------
my progress:
I created a simple project, I filled all the settings on the Blackberry project properties.
and it works:
-icon show as correctly on the tab "resources"-> icons files
-application name as well as in the general tab-> title
but when add third (Java Build Path-> Add library), those setting do not take effect:
-l' icon by default BB.
-the class name = application name
so, I guess, the icon don't display correctly due to the third pary.
can someone help me?
There is a problem in version 1.0 of the BlackBerry Java plug-in for Eclipse that prevents MIDlets icon changes to take effect. Work around this is to recreate the project in a new workspace.
Alternatively, you can upgrade to Eclipse 3.5 release and use the 1.1.2 version of the BlackBerry Java plug-in for Eclipse, which has the fix for this issue.
-
Design problem - can not do the persistable class
Basically I have a best score of the class that implements Persistable I want to either extend SimpleSortingVector or contain private SimpleSortingVector.
However, as SimpleSortingVector is NOT persistent, I can't make HighScore Persistable.
I guess that means I can't as unsimple extend SimpleSortingVector and make the persistable subclassing, then how the hell do I I still my class?
I get a similar problem with this:
public class MultiColumnTextField extends Field implements Persistable {
} because the field is NOT persistent!
[Cap] net.berrysoft.dib.fields.MultiColumnTextField: error! : the Persistable class marked by interface net.berrysoft.dib.fields.MultiColumnTextField: net.rim.device.api.util.Persistable is not persistent: base net.rim.device.api.ui.Field class does not implement net.rim.vm.Persistable
Patrick
Vector is persistent.
List sorting vector data and persist the vector. You can repopulate the vector sorting when you restore data.
Maybe you are looking for
-
A project now lets FCPX down.
Just a specific project. It started this morning. I tried all sorts of things without success. It is a 5-minute project that I invested at least 36 hours. How can I solve this problem?
-
Main Inbox do not display messages
Hello. I realize there have been similar topics, but could not see a corresponding to the mine. I have around 30-40 emails all managed in thunderbird. I used to be able to see all messages in the section of the main inbox at the top. But now it is co
-
my page does not resemble that of the video. I do not have the orange box with Firefox in the upper left click get to history to erase it.
-
I have a Mac Pro 2009, always on the Mavericks (10.9.5), where I use applications (such as Pro Tools 11) which are not compatible with El Capitan. I need to update to Yosemite 10.10.5 because of the new Unreal engine. I have the disk image of Yosemit
-
Photosmart 6510: Yellow and Magenta turns blue
Maybe not a new problem, but some new observations that can help. After that some time away from my Magenta and yellow printed in blue, confirm by a status report. The cartridges were no HP (do not jump on this as a solution) and translucent, while