You are not logged in.

Search results

Search results 21-40 of 277.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Wednesday, August 4th 2010, 5:34pm

Author: OlimilO

JFrame vs JDialog.

Hi menkaura, its' possible to edit your own posts!

Tuesday, August 3rd 2010, 8:58am

Author: OlimilO

OK- und Cancel-Button eines Dialoges

Hallo, da habt ihr ganz recht. Das ist wahrscheinlich auch der Grund warum das Framework Opensource ist, dann kann jeder seinen Teil dazu beitragen und die Menge an Arbeit könnte sich für alle in einem erträglichen Rahmen halten. Gruß OlimilO

Tuesday, July 27th 2010, 9:59am

Author: OlimilO

OK- und Cancel-Button eines Dialoges

Achja... Me.Parent.addKeyListener(Me) ...ist trotzdem erforderlich, also beides Jabaco Source 1 2 3 Me.Parent.addKeyListener(Me) 'und Me.ContentFrame.Parent.addKeyListener(Me) Quoted Es gibt nicht zufälligerweise eine Controls-Auflistung, über die man iterieren kann, oder die gibt es schon siehe ContentFrame.Parent.getComponentCount, und ContentFrame.Parent.getComponent(i) Aber dummerweise gibt es (immer noch) keine gemeinsame Schnittstelle für "Parent" für das einzelne Control. Vielleicht müßte...

Monday, July 26th 2010, 7:00pm

Author: OlimilO

OK- und Cancel-Button eines Dialoges

ja super genauso hab ich das gemeint! aber statt Jabaco Source 1 Me.Parent.addKeyListener(Me) musst du machen: Jabaco Source 1 Me.ContentFrame.Parent.addKeyListener(Me) da sitzt dummerweise noch was auf dem Form drauf das alle Controls enthält, und das dann den Focus erhält wenn du den Form/Dialog anklickst Gruß OlimilO

Monday, July 26th 2010, 4:43pm

Author: OlimilO

OK- und Cancel-Button eines Dialoges

Hallo, Das ist in VB6 sogar noch einfacher. CommandButton haben für diesen Zweck die Properties Default und Cancel Bsp: OK-Button: Default = True Cancel-Button: Cancel=True Idee für Lösung: * im Form/Dialog das Interface java#awt#Event#KeyListener implementieren * das Form/Dialog mit AddKeyEventListener auf alle Controls adden. dann hast Du ein einziges KeyPressed-Event für alle Controls gleichzeitig habs allerdings jetzt noch nicht probiert. Gruß OlimilO

Sunday, July 25th 2010, 8:32pm

Author: OlimilO

Modal Dialog

It must be stated that this thread is rather outdated. this approach was necessary only in ther first beta versions of Jabaco. Of course in the latest Jabaco version 1.5.2 there is already a Dialog-Form that should better be used for modal dialogs. regards OlimilO

Saturday, July 24th 2010, 8:22pm

Author: OlimilO

TypeOf Is

Documentaion for the function IsClass can be found in the Jabaco-Wiki: http://www.jabaco.org/wiki/Jabaco_type_c…n_(typecasting) here is another example-code: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Public Sub Form_Load() Dim aButton As New CommandButton Dim aPicBox As New PictureBox If IsClass(aButton, CommandButton) Then MsgBox "OK" End If Dim ctrl As IJabacoControl ctrl = aButton MessInstanceOfControl ctrl ctrl = aPicBox MessInstanceOfControl ctrl End...

Saturday, July 24th 2010, 6:50pm

Author: OlimilO

TrayIcon control for jabaco - JBTrayIcon

Hey, Yes, well done. 5 Stars *thumbs up* regards OlimilO

Saturday, July 24th 2010, 6:36pm

Author: OlimilO

instanceOf for jabaco

Hi, have a look at this ancient thread: TypeOf Is regards OlimilO

Saturday, July 24th 2010, 6:34pm

Author: OlimilO

IsClass

please also pay attention to the function IsClass which was already part of Jabaco since the first beta.

Monday, July 19th 2010, 11:44pm

Author: OlimilO

konnte die großen Schriften nicht nachvollziehen

Hi, keine Ahnung was das jetzt beweist ... sicher noch nix: hab folgendes versucht: hab das Jabaco-Projekt aus dem Verzeichnis Programme\Jabaco\Samples\ControlDemo\ genommen und zum ControlSample.jar kompiliert. Start Ubuntu 10.04 LTS, Start Terminal: Java -jar ControlSample.jar ich konnte keine abnormalen Schriften feststellen siehe Screenshot Gruß OlimilO

Monday, July 19th 2010, 11:48am

Author: OlimilO

Darstellung von Jabaco-Programmen unter verschiedenen OS

Hallo Peter, bitte poste Deine Versionen! Windows Vista OK Ubuntu version? Java version unter unbuntu? JAva version unter windows? hast du Liberation-Fonts unter ubuntu installiert? Gruß OlimilO

Tuesday, July 13th 2010, 11:57am

Author: OlimilO

Example for Throwing and Catching specific Exceptions and Errors in Jabaco

Class CFoo: (only a kind of dummy) Jabaco Source 1 2 3 4 5 6 7 8 Option Explicit Private myvalue As Integer Public Sub CFoo(aval As Integer) myvalue = aval End Sub Public Function ToString() As String ToString = CStr(myvalue) End Function Class CList: (attention something happens there) Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Option Explicit Dim myList() As CFoo Dim Count As Integer Public Sub Add(obj As CFoo) Redim Preserve myList(0 To Count) myList(Count) = obj Count = Count + 1 End ...

Tuesday, July 13th 2010, 11:50am

Author: OlimilO

Klasseneigenes Fehlerobjekt nutzen

Hallo Peter, no problem you are already almost there. try the following: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 On Error Goto ErrorHandler Dim parser As Builder = New Builder parser.build("C:\huhu.xml") MsgBox "Juhu!" Exit Sub ErrorHandler: If IsClass(Err, ParsingException) Then Dim e As ParsingException = Cast(Err, ParsingException) MsgBox e.getMessage Else MsgBox "no" End If regards OlimilO

Tuesday, July 13th 2010, 12:53am

Author: OlimilO

Unverhältnismäßig langer Kompilierungsvorgang

Quoted ...die Semikola im Copy&Paste-Vorgang zu entfernen und dachte mir, der Compiler wird schon meckern, wenn es ihm nicht passt. Und offensichtlich war es ihm egal. Wäre vielleicht 'n nettes neues Feature für ne nächste Version, daß man auch einzelne Klassen via Import einbinden kann. Gruß OlimilO

Monday, July 12th 2010, 10:46pm

Author: OlimilO

Unverhältnismäßig langer Kompilierungsvorgang

Hallo Peter, ja klar, Du versuchst hier wohl einzelne Klassen zu importieren? Jabaco Source 1 2 Import javax.xml.parsers.DocumentBuilder; ... das geht besser über das Menü "Projekt"->"Projektverweise (Classpath) F1" btw: Bemeckert Jabaco garnicht das ";" am Ende deiner Import-Zeile?? warums so lange dauert: Der Import-Befehl im Jabaco Code möchte immer gleich den ganzen Namespace importieren, also alle Klassen die da drin sind. Die einzelne Klasse in der Angabe wird da einfach ignoriert. Wenn ic...

Saturday, July 10th 2010, 9:22pm

Author: OlimilO

Property bag in Jabaco?

Hi nbarakat, please post an example that makes clear how you would use the property bag. ragards OlimilO

Friday, May 28th 2010, 11:16pm

Author: OlimilO

Reading and writing binary data

Hi Hubertus, if you occasionally had a short look at the VBTypeClass in the Jabaco-Framework-sources: http://code.google.com/p/jabacoframework…BTypeClass.java You maybe noticed that I already began to implement something like the Get-keyword in VB also for Jabaco, last year. My Idea was to implement something like a binary file access with Get, that could be implemented through Java reflection. unfortunately I was disturbed because the Framework was not able to compile any more, and moreover I m...

Thursday, May 27th 2010, 10:39am

Author: OlimilO

SQLite / Benutzung von Objekten

Hallo Lennart, Quoted Java ist mir vertraut. Wie kann mann sich die Benutzung von Objekten vorstellen? Vllt. hat jemand ein kurzes Beispiel, in dem ein Objekt erstellt und bearbeitet wird? Wenn Dir Java vertraut ist dann sollte das mit den Objekten nicht soo schwer sein. * In Jabaco ein neues Projekt anlegen: klicke im Menü auf "Datei"/"Neues Projekt..." im Dialog "Neues Projekt" wähle SDI-Anwendung und klick "Öffnen" * In Jabaco eine neue Klasse anlegen: Auf der rechten seite der Jabaco-Oberflä...

Thursday, May 13th 2010, 3:08pm

Author: OlimilO

Is something wrong with the ColorDialog ?

Yes, it's a well known issue of the old Jabaco Framework. Do you want to receive a newer version of the framework from me by email? My version is from 29.oct.2009 and i have already fixed this. regards OlimilO

WoltLab Burning Board