preferences

Is there a way to use java.util.Preferences under Windows without it using the Registry as the backend?

I want to use the java.util.Preferences API but I don't want my program to attempt to read or write to the Windows registry. How would I go about this? ...

Encapsulating Java Preferences API

I used to have a custom preferences class for my applications. For my next hobby project i wanted to switch to the Preferences API. But the put and get functions require a default value and i do not want to spread default values all over the source files. Even though my project is small i can not imagine changing default values all over ...

Save Windows Form Size

I'm developing a piece in VB.NET. Inside my primary form, I'm creating a new form to use as a dialog. I was wondering if there was a way to, upon the close of the new dialog, save it's size settings for each user (probably in a file on their machine, through XML or something?) ...

Drawing a user interface based on preferences

I want to use the built-in preference system for my xulrunner (Firefox) application. But I can't figure out how to easily drive the user interface based on preferences. The user can specify a list of home pages, and each home page will show up in a different tab. Because the tabs are in the presentation layer, I'd like to create them ...

PHP Frameworks - Are they solely personal preference?

I'm new to the world of PHP frameworks and, after some initial investigation, came up with the following list of popular choices: CakePHP CodeIgniter Symfony Zend I'm trying not to repeat the "Which is best?" question, which seems to elicit not much more than personal preference. Is this the case? Is one truly "better" than the other...

Enumeration management with zend framework (ZF)?

Is there any existing project or incubator to manage user administratable lists of options? We have several 100 lists (most populate dropdowns in our application), many are quite short < 50 items, several with a few hundred items and a handful with thousands (<30,000) entries. What we are looking for is a database based structure and UI...

Cocoa equivalent of .NET's Environment.SpecialFolder for saving preferences/settings?

How do I get the reference to a folder for storing per-user-per-application settings when writing an Objective-C Cocoa app in Xcode? In .NET I would use the Environment.SpecialFolder enumeration: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); What's the Cocoa equivalent? ...

Sharepoint custom personalization

I am creating sharepoint custom solution that will show number of drop down in page. The drop down data is shared in may pages. I want to persist selected values of the user such that when ever he visit that page or any other page that have same drop down, he should be able to see is saved value pre selected in drop down. To implement...

Delphi: Handling user's font preference

I've come up with the call that gets the user's UI font preference (as opposed to Borland's hard-coded choice of "MS Sans Serif"). Let's pretend the user's font preference is: Segoe Print, 15pt I set the font of all items, on all forms, in all applications to: Segoe Print, 15pt Problem is that things are now cut off. Buttons are ...

Would you develop in VB and then convert your code to C# just to have your entire team use one language?

I'm not considering this - I'm comfortable with C# and VB, but an expert in neither. But, some on my team have expressed an intention to do this since we're moving toward C# as a standard. ...

Storing page code on a JSP session

I have an options menu, over a jsp page, on which users explore items, that have sub-items, that have sub-sub-items and so on. Items are collapsable, so the user can see the hierarchy of the items he want. The menu is expanded manipulating the css using javascript and jquery. This menu is shown on all the pages of the application, and,...

How do I display the current value of an Android Preference in the Preference summary?

This must come up very often. When the user is editing preferences in an Android app, I'd like them to be able to see the currently set value of the preference in the Preference summary. Example: if I have a Preference setting for "Discard old messages" that specifies the number of days after which messages need to be cleaned up. In th...

Can you put a button in the Preferences for your iPhone app?

I'm building an iphone app, and I wanna use the iPhone's built in Preferences stuff. It looks like I put options in there, but I'm interested in putting a Reset button in the Prefs. I see that Apple's built-in apps like Safari have buttons in their prefs (Clear History, Clear Cookies, etc). I don't see a way to do this for SDK apps. H...

How can I access preferred applications from Java running on Linux?

We have a multi-platform Java-based system that spawns Robohelp for its online user guide information. It runs on a variety of Windows and Linux flavors. The default Robohelp code that is relevant to our Linux-based systems has a hard-coded link to "netscape" in the command line that it builds to spawn a web browser to view the help fi...

Where to store preferences under Windows in a networked application?

Where should I store preferences and setting if my goal is that my app should be runnable from a network share and the user's settings should persist regardless of the exact machine he is logged in on at the time? Similarly, where should I store application wide settings? The development environment in use is not .Net but can compile a...

Where are Java preferences stored on Mac OS X?

On Windows, the Java preferences, which you access in your application from java.util.prefs.Preferences are stored in the registry. Where are those stored on Mac OS X? ...

Need help to solve Window Opening Problem.

I followed the Tutorial in Cocoa Programming For Mac OS X to create a preferences window but am returned with 2 warnings which stop it from working/opening. These are the two warrnings: How can I resolve the problem? ...

Preferences Window Problem (Once Open And Closed, Will Not Open Again)

The problem I've got is that when the preferences window is opened and then closed, it will not open again. Why is this happening and how can this be fixed? EDIT: Just noticed also I've got the same problem with Main Window. The window is being opened via the menu bar and is in a separate NIB file. ...

Persisting user preferences in Silverlight...

I am working on a Silverlight client and associated ASP.NET web services (not WCF), and I need to implement some features containing user preferences such as a "favourite items" system and whether they'd like word-wrapping or not. In order to make a pleasant (rather than infuriating) user experience, I want to persist these settings acro...

Eclipse: Limit task tags to current project

Eclipse currently shows the task tags (// TODO) from all open projects. I would be grateful if anyone could point out the preference, where I could restrict the scope of tasks displayed (e.g. only tasks from current project). Thanks! ...