Re: Dialog boxes desperately require help

  • From: "Roger Woolgrove" <rawoolgrove@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 27 Jun 2011 17:19:18 +0100

Hi John and Aries,

Some confusion here I feel.

I have been using BlueJ as all the advice pointed me at this software to get started and this is what they have used on the course I have just completed.
I do not care about starting from scratch but I have no idea where to start.
I have been using:
OUDialog.confirm
OUDialog.request
OUDialog.alert
methods which are static methods of the OUDialog class. However, legality prevents me using this class for projects I am working on. I'd like to do similar. I'd like to start and learn how in BlueJ as I am confident and reasonably with the environment.
Eclipse and Netbeans, though seemingly lovely are not very accessible.
I should hope to learn these environments in time though right now is somewhat unrealistic. I have no idea about swing and swt though these seem to keep cropping up wherever I look yet everything I have tried relating to both require Eclipse as it crops up in the import statements. Is it really this difficult to create a dialog box and if so, any ideas on a more straightforward approach to programming?

Many thanks

roger


----- Original Message ----- From: "black ares" <matematicianu2003@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, June 27, 2011 5:04 AM
Subject: Re: Dialog boxes desperately require help


John, Roger asks for somehting and you are saying other thing.
He wants a simple method call to create a confirm dialog, or an message dialog.
This can be done with joptionpane from javax.swing.
He don't want to build an entire dialog from scratch.

----- Original Message ----- From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, June 27, 2011 12:44 AM
Subject: Re: Dialog boxes desperately require help


Roger,

I've actually been doing my Java coding using EdSharp and then using
javac and java at the command line. SWT does not have to be used inside
Eclipse. You may find BlueJ restrictive. In any case, get away from
using swing.

John

On Sun, Jun 26, 2011 at 10:25:52PM +0100, Roger Woolgrove wrote:
Hi John,

I'm not really very conversant with Eclipse at the moment and trying to
learn my way around it - getting there incredibly slowly.

I've been using BlueJ and am able to create new classes and execute them in
the provided workspace.  Had a look at the snippets but they all seem to
contain import statements for eclipse which are naturally invalid.

Thanks all the same.

roger


----- Original Message ----- From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, June 26, 2011 8:31 PM
Subject: Re: Dialog boxes desperately require help


>Are you using swing or swt? I would strongly recommend swt, since it is
>accessible right out of the box on Linux, Mac and Windows. there are
>also small programs called Snippets and longer examples that you can
>use. We are using SWT for BrailleBlaster precisely because of its
>inherent accessibility. One of our testers was surprised that the
>prototype worked without the Java Access Bridge or any screenreader
>scripts. For small snippet programs demonstrating various things, to to
>http://www.eclipse.org/swt/snippets
>
>John
>
>On Sun, Jun 26, 2011 at 06:30:31PM +0100, Roger Woolgrove wrote:
>>Hi all,
>>
>>I'm fairly new to java though I think I've got a fair grounding.
>>However, I am running into problems with dialog boxes. I've been >>using >>someone else's libraries to create dialog boxes and that's fair >>enough.
>>However, when it comes to creating my own I will not be able to use
>>someone else's as their software is copyrighted. So what I'm >>struggling
>>with is the code to create my own.
>>
>>Thus far I've been using a static method or methods of a class that is
>>copyrighted to make a request, request with supplied default answer,
>>confirm and alert.
>>
>>I've searched and searched for examples of created dialog boxes but to >>no >>avail. So, could anyone assist me. If you could supply a project >>folder
>>with the classes inside which would allow me to create the appropriate
>>dialog box with a simple invocation of a static method, that would be
>>great. If you could also give me a little guidance as to how to use >>the
>>dialogs, just in case that would be excellent.
>>
>>I've been stuck with this for weeks and am now confounded as to what >>to
>>do.
>>
>>Many thanks
>>
>>roger
>>
>
>-- >John J. Boyer; President, Chief Software Developer
>Abilitiessoft, Inc.
>http://www.abilitiessoft.com
>Madison, Wisconsin USA
>Developing software for people with disabilities
>
>__________
>View the list's information and change your settings at
>//www.freelists.org/list/programmingblind
>

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

--
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: