Tagged Questions
-1
votes
0answers
18 views
How to customize Nutch? [closed]
I'm totally new to Nutch.
Recently a professor asked me to write a Java project, which seemed like a subject-oriented search engine.
After deciding to use Nutch, I'm trapped with it's customization.
...
0
votes
1answer
37 views
Custom row in Spinner
I just need that items in a Spinner rows wraps when their length is large.
So I did this:
item.xml
<TextView
android:id="@+id/tvAddr"
android:layout_width="fill_parent"
...
3
votes
2answers
4k views
Can't get JAX-WS binding customization to work
I'm trying to resolve a name clash in a wsdl2java mapping with CXF 2.2.6 The relevant wsdl snippets are:
<types>...
<xs:schema...
<xs:element name="GetBPK">
...
11
votes
5answers
27k views
Android: customize application's menu (e.g background color)
What is the way (if there is a way) to customize the menu (the one triggered by the MENU button of the phone). I'm especially interested in two things:
changing the background color from the ...
0
votes
2answers
63 views
JAVA: Regexp on user-defined tokens
I need to run a regexp on a set of user-defined tokens.
For example, I've a string like this:
TOK3 TOK1 TOK2 TOK2 TOK4 TOK3 // example string
and by using a regexp like this:
(TOK1|TOK2)+ // ...
0
votes
0answers
13 views
Restoring or disabling Netbeans Automated Project name and /or (correct)numbering?
Upon creating a new project in Netbeans, you are given a useful(but annoying) default name for you project, e.g. `JavaApplication1.
The number is incremented for each project, but does not take into ...
1
vote
5answers
245 views
CMS Advice with the following features
We are looking for a CMS with following features in mind.
LDAP Auth
Wysiwyg editor inside browser
Can declare schema like faculty, students, courses, rooms, meetings, minutes, projects, papers, ...
0
votes
2answers
155 views
LoadRunner combined with custom Java code to create saml tokens per vuser
Wanting to implement some custom Java code to create a saml token for each vuser in my http loadrunner vuser script I wonder how could this be set up?
Lets say a developer could develop some code ...
0
votes
1answer
106 views
How to access Payload and MuleMessage in @Processor method
I have been working with implementing my custom processors using the Mule Devkit.
I have created the project with "mule-devkit-archetype-generic" archetype.
It has given me the calss with annotations ...
0
votes
1answer
32 views
How to configure an “initialise” method for Custom Processor
I have been working with Mule DevKit to create a custom message processor.
I have created the project with "mule-devkit-archetype-generic" archetype.
It has given me the calss with annotations ...
6
votes
3answers
4k views
How to add support for resizing when using an undecorated JFrame?
I would like to customize my titlebar, minimize-, maximize- and the close-button. So I used setUndecorated(true); on my JFrame, but I still want to be able to resize the window. What is the best way ...
0
votes
2answers
80 views
Custom Ant Types with reference result in empty class
I am using Apache Ant as a tool for tedious data collection and calculation tasks I have to do over and over again. I have defined some custom Ant Tasks and they work really well.
However, now I want ...
1
vote
0answers
97 views
Customizing infowindow on GWT
I am trying to customize a infowindow that I am using on GWT. I am coding with Java and am not sure how to get all of the infowindow options. Is it possible to do this in java or do I have to use ...
0
votes
2answers
94 views
Customizable modular GUI developed in Java [closed]
For my final project in a bachelor's degree I want to develop an instant messenger with a fully customisable GUI. I hope to have an application with modular components that can be added and removed at ...
-1
votes
1answer
43 views
Component-level UI customization Java [closed]
There is one product and there are several projects for different customers that based on this product. Desktop application is pretty similar for each project, but sometimes we need to customize ...
0
votes
0answers
30 views
customizing the myleadingmargin2 class to allow l right sided images
I've figured out how to wrap text around an image using the myleadingmargin2 class but it only works with the image on the left side of the text body. I know that the dir variable in drawleadingmargin ...
4
votes
1answer
220 views
using a .properties file with a Custom Bean Parser
I have a custom implementation of an AbstractSingleBeanDefinitionParser to allow me to define 3D Vectors in my spring config with less... ceremony than would otherwise be required.
<rbf:vector3d ...
-1
votes
3answers
153 views
How can I customize each row of Android ListView?
I would like to know if it's possible to customize each row of listview? I want to add checkboxes to few of the rows, button for another, etc. How to build *.xml file for this?
Thanks in advance!
0
votes
0answers
242 views
How to override inbound message validation using Apache CXF?
When I input non-numeric content for a integer field, I get a fault message “Not a number: 0.012A”. Is there a way to output custom error messages, when Unmarshalling for schema ...
6
votes
1answer
3k views
how to hide the status bar in eclipse
Is there a way to hide the quite large status bar cluttering the bottom of the eclipse window ? (where the heap status, line and column count and further non-essential info is shown). I am forced to ...
0
votes
6answers
493 views
How to set size of swing components
I want to customize the height and width of the JTextField objects. I have tried with the setSize method, passing width and height as dimensions and as int as well. But none of them seems to work. Am ...
1
vote
1answer
397 views
KeywordAnalyzer and LowerCaseFilter/LowerCaseTokenizer
I want to build my own analyzer that uses both filters/tokenizers.
I mean, the same field is Keyword (entire stream as a single token) and lowercase
If KeywordAnalyzer use only, the value of field ...
0
votes
2answers
342 views
custom INputFormat, hadoop
Please help,
I have the following sample data:
-21.33,45.677,1234,1245,1267,1290,1212,1111,10000,1902
-21.34,45.677,1264,1645,1266,1260,1612,1611,16000,1602
...
1
vote
2answers
74 views
How do I remove these annoying dots and arrows?
For some reason, all of my java files have these annoying dots and arrows:
http://www.flickr.com/photos/83641494@N05/7660025484/in/photostream
Does anyone know how to remove these characters?
Thank ...
0
votes
1answer
61 views
Where do I find the icons and other resources for metal look and feel?
I want my pressed buttons to look pressed, but I am looking to make it as easy as possible by modifying the default button from the Metal look and feel in Photoshop.
From there I could simply use the ...
1
vote
1answer
498 views
Customize a JList
I'm fairly new to Java, and while constructing a GUI application, I discovered I require a JList that has column headers, almost similar to the DataGridView in C#.
So: How does one customize a ...
0
votes
2answers
29 views
Presetting L&F before displaying a JFrame
Using an external library that creates a JFrame window, is there a way to preset the window's L&F before showing it?
Could something like accessing its own thread be a solution (via reflection I ...
1
vote
1answer
189 views
Open source Alfresco [closed]
Hi I am new to Alfresco I have installed enterprise edition of Alfresco but I guess its 30 days trial only and only for evaluation purpose. I have three question.
Is alfresco available in free ...
3
votes
2answers
3k views
Customize Spring Error Message
I want to change the default error messages being thrown by Spring.
I basically have this form. Format of the date should follow "mm/dd/yyyy"
<p>
<label class="label">Start ...
-1
votes
3answers
88 views
My own Java application which can be customized [closed]
I'm planning to implement a process using a java app. The process has various phases. Each phase has an input and output.
So it is something like ...
12
votes
1answer
516 views
Horizontal Scrolling and TextField Error
I have created a CustomTextField
which scrolls itself towards left when i type text which are extra than the width of the TextField
for which a HorizonalFieldManager is used
But now the problem is ...
2
votes
4answers
164 views
How can I get Java to get preferences from an alternate location?
I'll preface this with two notes: 1) I know very little about Java. 2) What I am about to ask for is almost certainly a horrible hack.
I have an application I did not write, and I have no control ...
0
votes
0answers
343 views
How do I add prebuilt binaries to AOSP build? [closed]
I am trying to build a custom AOSP Android build and I would like to add some prebuilt binaries so they appear in the /system/bin folder. I know I need to either edit/make an .mk file/s, but I'm not ...
0
votes
0answers
103 views
adding custom conditions to user Supplied SQL : Java Manipulation/Library?
The user supplies some SQL (Freeform SQL). I need to add extra conditions to it before execution (restricting user visibility to the amount of data accessed)
for Example, I'm intrested in adding the ...
4
votes
5answers
224 views
How to Manage Client Specific Configuration
For a product that is used by multiple clients where different clients ask for different customizations both user interface wise and functionality wise, how to accommodate those changes without ...
1
vote
2answers
80 views
Is there a way to let JVM load customized java.io.File instead of the standard one
Added some field in java.io.File and compiled it to jar locally.
Now I want to import it in application which uses that field.
But javac -classpath myio.jar Test.java won't compile.
Using reflection ...
1
vote
0answers
79 views
Is it possible to hide a public field from auto-complete? (Eclipse/Java)
I'm working on another language compiler to java. In order for it to work correctly, I needed to generate some extra fields and methods, which need to be public so they can be accessed from anywhere.
...
0
votes
1answer
279 views
java gson replace password value while serialization
How can I replace the value of a password field with XXX while de-serializing an object with Gson? I found this post: Gson: How to exclude specific fields from Serialization without annotations that ...
1
vote
3answers
633 views
Java : Does Locale affect the Formatter for JFormattedTextField
I have created a custom component (NumberFormattedTextField) of JFormattedTextField. This is the Formatter I use :
public static InternationalFormatter getDecimalIFormatter92() {
// For Buy ...
3
votes
3answers
3k views
JAXB constructor injection
I would like to know how I can make the JAXB compiler make certain elements in my XML schema be declared as final in the java class definition and I would also like to be able to control the different ...
7
votes
1answer
4k views
How to customize a toolbar in Eclipse?
I am trying to customize Eclipse to speed up development and minimize distractions for Android Java development.
I am using SourceGear Vault for source control and installed the plugin for Eclipse. ...
0
votes
1answer
768 views
How to set a custom divider to a JSplitPane
I have found this example :
http://java2s.com/Open-Source/Java-Document-2/Swing/petersoft-java-style-2/com/petersoft/white/SplitPaneDivider.java.htm
And I would like to apply it to my JSplitPane.
...
2
votes
3answers
4k views
Skinning Java desktop applications?
Does anybody know a way to "skin" Java desktop applications. (Like Winamp skins, or skins for MirandaIM)?
I don't want to create my own look and feel.
1
vote
1answer
92 views
How to use ancestor's EventBus if I am extending Widget in GWT?
I am extending a ScrollPanel and wish to process my own custom events with this new widget.
I made my own HasMyHandlers interface with two methods fireEvent(MyEvent event) and HandlerRegistration ...
-3
votes
3answers
169 views
Changing Java API to make xxx.out.println to work the same way as system.out.println
I need to change the java API to make say assassinscreed.out.println to work the same way as system.out.println..
Can u pls shed some light on it..?
0
votes
1answer
339 views
How to implement a custom identity model for JBoss Portal?
I want to implement a custom identity model in order to connect to a proprietary webservice providing user information.
So I followed the instructions on ...
4
votes
2answers
953 views
Custom design JScollPane Java Swing
I need to design this scrollbar for all my scrollpanes :
With Java Swing. I am using Netbeans IDE. What is the simplest solution ?
Thank you very much.
Regards
1
vote
6answers
406 views
Customizing Java Serialization
I was going through a blog and one question came to my head. Is it possible to overwrite the way ObjectOutputStream is writing.
Let's say i am writing to a file out.dat i.e.
ObjectOutputStream out ...
2
votes
4answers
311 views
Can I define custom character class shorthands?
Java provides some useful character classes like \d and \w. Can I define my own character classes? For example, it would be useful to be able to define shorthands for character classes like [A-Za-z_].
...
0
votes
1answer
102 views
customize application with xml java
I write applications that need alot of options. These options can be handed to the application by a xml file. Theses files are quite big with some levels and a few dependancies not modelable in a ...